benjamin051000 / ray-tracer

A multi-threaded ray tracer.
0 stars 0 forks source link

world.hit() never returns true for two_spheres #1

Closed benjamin051000 closed 1 year ago

benjamin051000 commented 3 years ago

Thus, two_spheres outputs an image of pure background color.

In the case of random_scene, world.hit() does return true sometimes, but outputs a static-looking image with no discernable objects.

benjamin051000 commented 3 years ago

render_800_450_1 This is the output of 800x450 (1spp) random_scene

benjamin051000 commented 3 years ago

Disabling optimizations did not improve the situation.

benjamin051000 commented 3 years ago

After reflogging and resetting many commits back, looks like the code worked at commit d99914ad (Updated project to include src directory). Looking for where the first commit where it breaks is...

benjamin051000 commented 1 year ago

At some point this was fixed.