Comparison Feature for Sanctuary Raytracer
Comparison Feature for Sanctuary Raytracer I am currently fixing a bug with the KDTree implementation in my raytracer, which makes some triangles disappear under certain angles. I like these hard to spot bugs to stay fixed, so I decided to automate the process of finding them and inspecting them. When run in “comparison” mode, “Sanctuary” compares its output with a known good render, residing in a “compare” folder. If a known good render of the scene exists, the images are compared and an image diff is generated....