raytracing.github.io icon indicating copy to clipboard operation
raytracing.github.io copied to clipboard

Book 3 Section 12.1 Listing 37: Code and screenshot 9 do not match

Open StrangeVoyager opened this issue 3 years ago • 1 comments

Listing 37 lists a dielectric sphere in place of the shorter box, but the screenshot still shows the box.

Listing 37 also does not compile because we pass in a hittable_list of lights to ray_color, but have not yet implemented (for hittable_list) the pdf_value or random methods at this point in the code that are needed bit the hittable_pdf light_ptr.

StrangeVoyager avatar Oct 23 '22 12:10 StrangeVoyager

The first part is already covered in the dev-major branch. I opened issue #1084 and found out that the image / code were fixed on the branch.

KnockerPulsar avatar Oct 25 '22 16:10 KnockerPulsar

Looks like this was fixed.

hollasch avatar Apr 19 '24 17:04 hollasch