Skip to content

fixed fuzz value for material_right to match reference image#1742

Open
LBreede wants to merge 1 commit into
RayTracing:dev-patchfrom
LBreede:dev-patch
Open

fixed fuzz value for material_right to match reference image#1742
LBreede wants to merge 1 commit into
RayTracing:dev-patchfrom
LBreede:dev-patch

Conversation

@LBreede

@LBreede LBreede commented Apr 28, 2026

Copy link
Copy Markdown

In chapter 11.5. Modeling a Hollow Glass Sphere of Ray Tracing in One Weekend, there is a typo in the code.

Listing 79 highlights the changes to the dielectric material. Not highlighted, is the fuzz value of for the metal material, which has been set to 0.0. This seems to be a typo considering the line is not highlighted, and, more importantly, the reference image 18 still shows a rough metal material, indicative of a fuzz value greater than 0.0.

fixes #1673

@hollasch

Copy link
Copy Markdown
Collaborator

Please update CHANGELOG.md and books/acknowledgments.md.html. Thank you!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Ray Tracing in One Weekend Book 1 HTML to fix a code typo in Chapter 11.5 (“Modeling a Hollow Glass Sphere”) so the listed scene matches the reference render in Image 18.

Changes:

  • Set material_right metal fuzz from 0.0 to 1.0 in Listing 79’s scene snippet to match the reference output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants