Missing ray.time in scatter function
It seems that you are forgotten to pass the r_in.time into the constructor of the scattered ray in some of materials.

GOOD CATCH!
You are correct.
Thanks
Pete
On Mon, Mar 6, 2017 at 6:12 AM, Artyom [email protected] 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 metal and dielectric. The image in the online book also needs to be updated.
More specifically, listing 5 should apply the same modification to class metal and class dielectric.