James Bigler: CS6650 Homework 7




Create an image of the Cornell Box using spectral colors and implicit indirect lighting.



All images were created using a jittered sampling, a light factor of 15, and a gamma of 2.



250x250 image with 40000 samples per pixel

This has lighting coming from rays of depth 0 (direct lighting) to 4 (indirect lighting).

The following images illustrate the contributions of rays at various depths. A depth of 5 yields no contribution.

1 bounce only (100x100 image with 10000 samples per pixel)

2 bounces only (100x100 image with 10000 samples per pixel)

3 bounces only (100x100 image with 10000 samples per pixel)

4 bounces only (100x100 image with 10000 samples per pixel)

5 bounces only (100x100 image with 10000 samples per pixel)



// this is sample code