HW 4 - Thin Lens

In all images below , jittered sampling with 64 samples per pixel was used. The field of view is set to 45 degrees. The image is an infinite chess board with size of a square set at 1 unit. The chess board covers (0,infinity) x (0, infinity) in the xy plane. There are three balls:-



Camera Statistics
Position : (0,0,1)
LookAt : (1,1,0.25)
Focal length: 1 unit
Aperture : variable
Distance of film from lens(d0): variable
Field of view: variable
Size of film: dependent on field of view



We observe the effect of changing d0, keeping the aperture fixed at 2.5 (diameter:0.4 units). If d0 = f = 1.0 , the focus is at infinity.
d0=2.4 d0=2.2 d0=2.0
d0=1.8 d0=1.6 d0=1.4
d0=1.2 d0=1.0



We observe the effect of changing the aperture while keeping d0 fixed. The higher the aperture value(smaller the diameter), the higher is the 'depth of field'. Depth of field is the range of distances from the camera which are in focus. In all images below, d0 is set to 0.36.
If the aperutre diameter is infinitisimily small, we get a pinhole camera(infinite depth of field)
 
value=3.3
(diameter = 0.3 unit)
value=5.0
(diameter = 0.2 unit)
value = 10
(diameter = 0.1)



Motion
In all images below, the aperture diameter is set at 0.05 units so that almost everything is in focus.

Ball #1(furthest from camera) has a constant velocity (1,-1,0).
Ball #2 has a constant velocity (0,0,2) and ball #3(closest to camera) is stationary.
 

Below the balls are kept stationary while moving the chess board
 

velocity = (.5, .5, 0)

velocity = (1,1,0)

velocity = (0.5, 0, 0)