Depth of Field
Maya 8.0 Tutorial
How to Add Depth of Field in Maya
Depth of Field for real cameras is controlled with the lens aperture. A larger aperture opening (i.e., f2.8) provides much less in focus than a smaller aperture opening (i.e., f22).
In Maya we can simulate the depth of field by adjusting the depth of field camera settings. For more info on cameras, see topic Add a Basic Camera.
With several objects in your scene, add a camera (Create > Cameras > Camera).
In the perspective view, choose Panels > Perspective and choose your new camera. The view now displays the scene from your new camera's point-of-view.
Move the camera to frame the objects in the scene by pressing and holding the Option key (PC - Alt key) and dragging the mouse while holding the left, middle or right mouse button.
The objects should be at different distances from the camera. In this example the objects are 10, 20 and 25 units from the camera.
Select the camera object in the workspace or with the Outliner (Window > Outliner). Open the Attribute Editor panel for the camera by clicking the Attribute Editor icon.
Open the camera's Depth of Field category and click the Depth of Field checkbox.
Adjust the Focus Distance, F Stop and Focus Region Scale settings to simulate depth of field. In this example, Distance = 10, 20 and 25, F Stop = 5.6 and Scale = 60.