-
Notifications
You must be signed in to change notification settings - Fork 827
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
Missing ray.time in scatter function #133
Comments
GOOD CATCH!
You are correct.
Thanks
Pete
…On Mon, Mar 6, 2017 at 6:12 AM, Artyom ***@***.***> wrote:
It seems that you are forgotten to pass the r_in.time into the constructor
of the scattered ray in some of the materials.
[image: motion_blur_error]
<https://cloud.githubusercontent.com/assets/1876286/23611300/95e26ba4-0287-11e7-8765-1e0f72ad3a57.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/petershirley/raytracingthenextweek/issues/1>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACq6ii0w2p2uHAega8BdjD-TL0FyShk8ks5rjAZMgaJpZM4MUIV0>
.
|
This is still present in Book 2. The fix needs to be applied in |
More specifically, listing 5 should apply the same modification to |
hollasch
added a commit
that referenced
this issue
Sep 11, 2020
- In book 1, the code for material::dielectric::scatter() divereged from the source code. - In book 2, we neglected to include the code changes to handle ray time for material::metal and material::dielectric. Resolves #133
hollasch
added a commit
that referenced
this issue
Sep 30, 2020
- In book 1, the code for material::dielectric::scatter() divereged from the source code. - In book 2, we neglected to include the code changes to handle ray time for material::metal and material::dielectric. - In book 3, we neglected to include the code changes to handle specular updates to dielectric materials. - Reformulated the dielectric::scatter() method for clarity. Resolves #133
hollasch
added a commit
that referenced
this issue
Sep 30, 2020
- In book 1, the code for material::dielectric::scatter() divereged from the source code. - In book 2, we neglected to include the code changes to handle ray time for material::metal and material::dielectric. - In book 3, we neglected to include the code changes to handle specular updates to dielectric materials. - Reformulated the dielectric::scatter() method for clarity. Resolves #133
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that you are forgotten to pass the r_in.time into the constructor of the scattered ray in some of materials.
The text was updated successfully, but these errors were encountered: