Assignment 7

Direct Lighting

Direct Lighting of the Cornell Box. I use RGB (for now) and the equation:

L = Sum(1,numshadowrays, emittedRGB * RGBatintersection_pt * cos(theta) * cos(theta') * area * k / (PI * dist^2 * numshadowrays)

I use k = 45 in these images. These images use whites that are purely achromatic (red = green = blue), which is why they are not as brown or yellow as those of other people in the class.

4 samples/pixel, 4 shadow rays/hit.

16 samples/pixel, 16 shadow rays/hit.