Computes the color of the pixel at (x,y) by sending a large number of rays through the pixel into the scene.
Each sample's radiance is computed using path tracing, and the output is given as the total radiance divided by the number of samples.
Reimplemented from Raytracer. |