-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
Description
Chapter 6.2.3 of the PBRT book deals with The Thin Lens Model and Depth of Field. An example scene showing the effect:
Projective cameras take two extra parameters for depth of field: one sets the size of the lens aperture, and the other sets the focal distance:
> rg -A 1 -B 2 lensradius assets/scenes/yeahright/
assets/scenes/yeahright/yeahright.pbrt
9-Camera "perspective"
10- "float fov" [ 35 ]
11: "float lensradius" [ 0.5 ]
12- "float focaldistance" [ 50 ]