Depth of Field
CPSC 6650 Program 5
Create an image with depth of field effects by randomly choosing ray origins on a lens rather than at a point.
Extra Credit
Use sensible parameters and compare your results with images from a real camera.
All images are created with gamma = 1.6
All images are created with fstop = 3.3 unless noted
All images have 64 samples per pixel unless noted
About the image: Spheres have radius .3meters
The green sphere is at 0m,.1m,1m
The blue sphere is at 0m,0m,.5m
The red sphere is at 0m,-.05m,.25m
Notes
Images
No depth of Field
Fstop 22
Focus on .25m
Focus on .5m
Focus on 1m
Motion in the image
Adjust motion blur with depth of field
Near Focus
Medium Focus
Far Focus
Finally I show an image of some real depth of field.