Adam Campbell's Website
Ray tracing - lights


This scene has 5 point lights, one sphere and a back plane. Note the shadows created by the lights. Simple point lights have infinite intensity, so no matter how far away an object is from the light, it still gets lit the same. Download the scene and camera files here SCENE and CAMERA
These are similar to point lights, except thier intensity is reduced by the inverse square of the distance between the intersection point and the light. The area in the middle of the back plane is more bright than the corners. It's tough to get the intensity right for these types of lights. Download the scene and camera files here SCENE and CAMERA

The shadows created by point lights are sharp, but with area lights soft shadows begin to appear. Unfortunately, rendering scenes with area lights is costly. My current implementation of rectangular area lights is not 100% correct, but it's good enough to get soft shadows. Take a look at the time comparisons between scenes rendered with different numbers of samples. Download the scene and camera files here SCENE and CAMERA
Samples Time
10 1.28s
50 4.76s
200 17.77s
1000 87.02s