raytracing.github.io
raytracing.github.io copied to clipboard
Main Web Site (Online Books)
book1-review branch. The order of images is incorect imho. Image 7 - looks like after gamma correction, which is introduced later in the book Image 8 and 9 - the...
I go through the book 1 (book1-review branch) reimplementing it in Clojure. Listing 40 introduces recursive ray casting which is infinite. When `world.hit` hits a sphere, `rec.p` contains point on...
This seems to be a specific design choice in markdeep, but: Figures, listings, and tables are automatically numbered. We hackily increment images as we go along with "image N:" But,...
When implementing the code in the book, at the point where the normal for the sphere is calculated I substituted a call to normalize the Vec3 instead of what the...
Run through the book progression before v4 release. Validate/update rendered images. Make sure that they are PNG format, and sized according to the rendered size specified in the code. -...
After the messy merge of `dev-patch` (v3.2.2) into `dev-minor` and all of the work going on in v4, we should run through the book progression before v4 release. Validate/update rendered...
After the messy merge of `dev-patch` (v3.2.2) into `dev-minor` and all of the work going on in v4, we should run through the book progression before v4 release. Validate/update rendered...
An image of 2 glass spheres is presented immediately prior to Section 10.3, and then in Section 10.3, Total Internal Reflection, it starts off by saying: That doesn't look right....
``` virtual bool scatter( const ray& r_in, const hit_record& rec, color& attenuation, ray& scattered ) const { vec3 reflected = reflect(unit_vector(r_in.direction()), rec.normal); scattered = ray(rec.p, reflected); attenuation = albedo; return...
bvh_node::bvh_node( std::vector& src_objects, size_t start, size_t end, double time0, double time1 ) may be modified to: bvh_node::bvh_node( const std::vector& src_objects, size_t start, size_t end, double time0, double time1 )