You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read through both Book 1 and 2 a couple times and I might have missed something obvious that seems unclear to me. I do not see how the render of the Empty Cornell Box in 7.6 resulted in 3 of the faces rendering with black colour.
Looking at the Lambertian material it does not care about front_face and returns an attenuation regardless of this flag. I get the same result whether I use the flipped object or not.
I'm working in Rust (using this as a means to learn both) so it is quite possible something is off. This is the render I get:
I've tried adding Flipped Objects as well but it does not change the result.
I've read through both Book 1 and 2 a couple times and I might have missed something obvious that seems unclear to me. I do not see how the render of the Empty Cornell Box in 7.6 resulted in 3 of the faces rendering with black colour.
Looking at the Lambertian material it does not care about front_face and returns an attenuation regardless of this flag. I get the same result whether I use the flipped object or not.
I'm working in Rust (using this as a means to learn both) so it is quite possible something is off. This is the render I get:
I've tried adding Flipped Objects as well but it does not change the result.
Not that this is a good reference but if it helps my implementation is here: https://github.com/hackmad/raytracing_series
The text was updated successfully, but these errors were encountered: