8000 Address `material::scatter()` function mismatch between book and source · Issue #669 · RayTracing/raytracing.github.io · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Address material::scatter() function mismatch between book and source #669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hollasch opened this issue Jul 15, 2020 · 1 comment
Closed

Comments

@hollasch
Copy link
Collaborator
  • Book two has a material::scatter() method that takes four arguments.
  • Book three text has a material::scatter() method that adds a fifth argument.
  • Book three source has a material::scatter() method that takes three arguments.

Also note that the original isotropic::scatter() method in book three took four arguments, so the source code was actually invoking the default material::scatter() method, so that image is probably wrong.

@trevordblack
Copy link
Collaborator

This can probably be closed out with the merge of #885

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

No branches or pull requests

2 participants
0