logo

Jonas Eckhardt / Simon Wegener ::
Rendering Competition - Computer Graphics Course WS07/08 ::

Optimization :: Depth of Field :: Surface Shading :: Modeling :: Advanced Ray-Tracing :: Fun ::
Documentented Code ::

 
Computer Graphics Course Jonas / Simon

 

Depth of Field

In a real world photo, not everything will be totally sharp, since some objects will not be on the focal plane. We simulated this effect by randomly sampling a point on a small circle (the "lens") and ajusting the ray's direction. The effect depends on the size of the aperture. The following images have increasing lens sizes, the last one was rendered without depth of field. The effect was stressed for visualisation, for a nicer picture look into the shading section.