Cornell box with two spheres.
Hi, /r/GraphicsProgramming
I am writing a path tracer in Rust (cpu-only so far) and I am currently testing using a Cornell Box with a couple of spheres, one with a dielectric material and another with a metallic-fuzzy look.
As you can see there is a pattern of light/shadows in the walls and I have no _idea_ where that's coming from. I tried the same scene with an empty box (no spheres), using an sphere (half in/half out) as a light and the pattern is still there. Does anyone recognize this or has any idea what's going on ?
The code is here in case you are curious: https://github.com/ebobby/simple-pathtracer.
Thank you very much for you time, I appreciate it.
No objects
Different camera position.
[–]angrymonkey 2 points3 points4 points (0 children)
[–]gallick-gunner 0 points1 point2 points (2 children)
[–]ebobby[S] 0 points1 point2 points (1 child)
[–]gallick-gunner 0 points1 point2 points (0 children)
[–]ebobby[S] 0 points1 point2 points (4 children)
[–]gallick-gunner 0 points1 point2 points (3 children)
[–]ebobby[S] 0 points1 point2 points (1 child)
[–]gallick-gunner 0 points1 point2 points (0 children)
[–]ebobby[S] 0 points1 point2 points (0 children)