A 3D ray tracing of a glass molecular model, demonstrating the algorithm's ability in simulating depth of field (DOF), which is the distance between the nearest and farthest objects in a scene that appear acceptably sharp in an image. When much of the foreground and background of an image is sharp, its DOF is deep. The opposite is called shallow focus.Image: Purpy Pupple