Camera Attribute Editor

Select View > Camera Attribute Editor to view camera attributes in the Attribute Editor.

Camera attributes

Tip: If you click the boxes at the right of some of the attributes in this editor, the Create Render Node window window appears, which means you can map certain render nodes to the camera attributes.
Controls

See Maya camera types for information about the type of cameras: Camera; Camera and Aim; and Camera, Aim, and Up.

Angle of view

For more information on angle of view and how it’s affected by the focal length of the camera, see Angle of view (focal length).

Tip: Try to avoid using a perspective camera with a very small angle (less than 5 degrees). Doing so may result in a much decreased depth precision, resulting in depth-fighting artifacts. Instead, try using an orthographic camera for a similar look.
Focal length

See Focal length.

Camera scale

See Camera scale.

Auto Render Clip Plane

For Maya software only. When on (default), the near and far clipping planes are automatically set so they enclose all objects within the camera’s view. (For all other renderers, you must set the near clip plane and far clip plane manually.) You can set the planes manually for Maya software rendering too.)

Note: Maya Creative uses independent horizontal and vertical field of view angles. The camera model is based on independent horizontal and vertical film apertures plus a focal length.

All objects render and depth precision problems are eliminated. Clipping planes are not visible in the views.

Auto Render Clip Plane is on by default. When off, the near and far clipping planes are set to the Near Clip Plane and Far Clip Plane attribute values.

Turn off Auto Render Clip Plane (and set the Near Clip Plane and Far Clip Plane) to limit which objects render based on their distance from the camera if you are compositing based on depth.

Near Clipping Plane, Far Clipping Plane

These options are described in the Create Camera Options. See also Clipping planes.

Frustum Display Controls

The following are the frustum display controls for a non-stereo camera. For a stereo camera, these attributes are controlled via Stereo Display Controls. These attributes are disabled for the left/right camera of a stereo camera.

Display Near Clip

Enable this option to display the near clipping plane.

Display Far Clip

Enable this option to display the far clipping plane.

Display Frustum

Enable this option to display the frustum.

Film Back

The Film Back attributes control the basic properties of a camera (for example, the camera’s film format: 16mm, 35mm, 70mm).

Film Gate

Lets you select a preset camera type. Maya automatically sets the Camera Aperture, Film Aspect Ratio, and Lens Squeeze Ratio. To set these attributes individually, set Film Gate to User. The default setting is User.

Camera Aperture (inch) / Camera Aperture (mm)

The height and width of the camera’s Film Gate setting.

If you choose to enter the values in inches, the default values are 1.417 and 0.945.

If you choose to enter the values in mm, the default values are 36.000 and 24.000.

Regardless of which option you choose, the values are saved in inches.

This setting has a direct effect on the camera’s angle of view (see Angle of view for more information).

Note:

The Camera Aperture setting has no effect on the fStop. For more information on fStop, see Focus and blur.

Film Aspect Ratio

The ratio of the camera aperture’s width to its height. Maya automatically updates the Film Aspect Ratio (and vice versa). The valid range is 0.01 to 10. The default value is 1.5.

Lens Squeeze Ratio

See Lens Squeeze Ratio.

Fit Resolution Gate

See Film fit.

Film Fit Offset

See Film Fit Offset.

Film Offset

Vertically and horizontally offsets the resolution gate and the film gate relative to the scene. Changing the Film Offset produces a two-dimensional track. Film Offset is measured in inches. The default setting is 0.

1 The view guide fills the view. The edges of the view guide may be exactly aligned with the edges of the view, in which case the view guide is not visible.
> 1 The higher the value, the more space is outside the view guide.
Shake Enabled / Shake

Use the Shake attributes to apply some amount of 2D translation to the filmback. A curve or expression could be connected to the Shake attribute to specify a realistic shaking effect. The Shake Enabled toggle can be used to turn the effect of the shake on and off.

The Shake and Shake Overscan attributes duplicate and combine functionality with the Film Offset attributes and API. They are off by default.

Shake Enabled allows the Shake attribute setting to be factored into the camera calculation. By default it is off.

Shake specifies a translation on the filmback. The value is specified as a separate horizontal and vertical shake field, both of which default to zero, and are only utilized in the camera calculations when the Shake Enabled attribute is enabled. For camera calculation purposes, Shake and Film Offset provide the exact same effect. Shake provides an additional set of filmback translation inputs on the camera, with the additional feature that Shake can be turned on and off via the Shake Enabled attribute.

Use the following MEL command to turn on Shake Enabled:

setAttr perspShape.shakeEnabled 1;

Use the following MEL command to set the Shake attribute:

setAttr perspShape.shake 0.5 0.5;
Shake Overscan Enabled / Shake Overscan

Shake Overscan Enabled allows the Shake Overscan attribute to be factored into the camera calculation. It is disabled by default.

Shake Overscan specifies a multiplier to the film aperture. This overscan is used to render a larger area than would be necessary if the camera were not shaking. This attribute will affect the output render. The Shake Overscan attribute is only used when the Shake Overscan Enabled attribute is set to true. By default, Shake Overscan is set to one.

Use the following MEL command to turn on Shake Overscan Enabled:

setAttr perspShape.shakeOverscanEnabled 1; 

Use the following MEL command to set the Shake Overscan:

setAttr perspShape.shakeOverscan 1.25;
Pre Scale

The Pre Scale value is used in 2D effects. This value indicates the artificial 2D camera zoom. Enter a value into this field. The value is applied before the film roll.

Film Translate

The Film Translate value is used in 2D effects. This value indicates the artificial 2D camera pan. Enter a value into this field.

Film Roll Pivot

The horizontal pivot point from the center of the film back. The pivot point is used during rotation of the film back. The pivot is the point where the rotation occurs around. This double precision parameter corresponds to the normalized scene view. This value is a part of the post projection matrix.

Vertical pivot point used for rotating the film back. This double precision parameter corresponds to the normalized scene view. This value is used to compute the film roll matrix, which is a component of the post projection matrix.

Film Roll Value

This specifies, in degrees, the amount of rotation around the film back. The rotation occurs around the specified pivot point. This value is used to compute a film roll matrix, which is a component of the post-projection matrix.

Film Roll Order

Specifies how the roll is applied with respect to the pivot value.

Rotate-Translate

The film back is first rotated then translated by the pivot point value.

Translate-Rotate

The film back is first translated then rotated by the film roll value.

Post Scale

The Pre Scale value is used in 2D effects. This value indicates the artificial 2D camera zoom. Enter a value into this field. The value is applied after the film roll.

Depth of Field

These attributes provide control over the camera’s focus.

For more information on this feature, see Adjust depth of field.

Tip: The more out of focus an image is, the longer it takes to generate the final rendered image (that is, the post-render blur takes longer).
Note: In Viewport 2.0, when post-effects such as screen-space ambient occlusion, motion blur, and depth of field are enabled, the drawing of wireframe and components are not affected by these effects. Filled display for surfaces are affected. However, wireframe and components for surfaces are not blended with the filled drawing if the surface is semi-transparent. For example, if you create an object, then set its shader transparency to semi-transparent and select the object or its components, you will see a difference between enabling and disabling Screen-space Ambient Occlusion.
Depth Of Field

If on, some objects in the scene are sharply focused and others are blurred or out of focus, based on their distance from the camera. If off, all objects in the scene are sharply focused. Depth Of Field is off by default.

Once you've enabled Depth of Field in the camera Attribute Editor, you can enable Depth of field in each viewport panel.

To enable or disable depth of field in the current viewport, click the depth of field icon in the panel toolbar or toggle Shading > Depth of Field from the panel menu.

Focus Distance

The distance from the camera at which objects appear in sharp focus, measured in the scene’s linear working unit. Decreasing the Focus Distance also decreases the depth of field. The valid range is 0 to infinity. The default value is 5.

Tip: When in Viewport 2.0, to select a Focus Distance for Depth of Field, select Display > Heads up Display > Object Details, then select the object you wish to remain in focus . The Distance From Camera heads up display should indicate the distance of the object from the camera. Use this as your Focal Distance.
F Stop

The range of Camera Aperture settings which affect the Depth of Field. The lower the F Stop (for example, f-4) the shallower the depth of field, and more of the foreground and background is out of focus and blurred. The higher the F Stop value (for example, f-32), the deeper the depth of the field, and more of the foreground and background is in focus.

For more information about fStop, see fStop (aperture) and shutter speed/angle.

Focus Region Scale

Scales the Focus Distance value. The valid range is 0 to infinity. The default value is 1.

Output Settings

Controls whether the camera generates an image during rendering, and what types of images the camera renders.

Renderable

If on, the camera can create an image file, mask file, or depth file during rendering; that is, it is able to render. By default, Renderable is on for the default perspective camera, and off for all other cameras.

Image

If on (and Renderable is on), the camera creates an image file during rendering. The default setting is on.

Mask

If on (and Renderable is on), the camera creates a mask during rendering. A mask is an 8-bit channel (the alpha channel) in the image file that represents objects in shades of gray. Black areas represent areas where there are no objects (or fully transparent objects), and white areas represent areas where there are (solid) objects. Masks are used primarily for compositing.

For image formats that do not support mask channels, the mask is stored as a separate image.

Depth

If on (and Renderable is on), the camera creates a depth file during rendering. A depth file is a type of data file that represents the distance of objects from the camera.

Depth files are used primarily for compositing. When on, the Depth Type attributes (next) are enabled.

For image formats that do not support depth channels, the depth is stored as a separate image.

Depth Type

Determines how to compute the depth of each pixel.

Closest Visible Depth

Uses the closest object to the camera. When transparent objects are located in front of other objects, turn on “Transparency Based Depth” to ignore the transparent object.

Furthest Visible Depth

Most often used when a particle effect is occluded by an opaque object. Maya uses the Furthest Visible Depth to create a Depth file.

Transparency Based Depth

Turns on Threshold, which determines which object is closest to the camera, based on transparency. Transparency Based Depth is only enabled when you select Closest Visible Depth.

Tip: When transparent objects are located in front of other objects, you can turn on Transparency Based Depth to ignore the transparent object.
Threshold

Used when compositing multiple layers of transparency (which varies from 0 to 1). For example, if Threshold is 0.9 (the default), when transparent surfaces add up to 0.9 or larger, the surface becomes opaque.

Pre-Compositing template

Use this attribute for pre-compositing in Composite.

Environment

Control the appearance of the scene’s background as seen from the camera. Different cameras can use different backgrounds.

Background Color

The color of the scene’s background. The default color is black.

Note: The background color of a camera cannot be texture mapped. If a procedural background is required, use an image plane instead.
Image Plane

Creates an image plane and attaches it to the camera. Clicking the Create button automatically changes the focus of the Attribute Editor to include attributes for an image plane.

For more information on image planes, see Create, edit, or position an image plane.

Special Effects

Shutter Angle

Controls the blurriness of motion blurred objects. In a real-world camera, the shutter is actually a metal disk that is missing a pie-shaped section. This disk sits between the lens and the film, and rotates at a constant rate. When the missing section is in front of the film, it allows light from the lens to pass through and expose the film. The larger the angle of the pie-shaped section, the longer the exposure time, and moving objects are more blurred. Shutter Angle is measured in degrees. The valid range is 1 to 360. The default value is 144.

See Shutter Angle.

Note: Motion Blur must be on in the Texture Baking Settings window.

Display Options

Controls the display of view guides in the camera’s view, and provides options for moving the camera. You can also access most of these attributes in any panel’s View > Camera Settings menu.

2D Pan/Zoom

Pan Zoom Enabled

Select this option to enable the 2D Pan/Zoom feature.

Pan

Enter the X and Y co-ordinates to move your view horizontally and vertically.

Zoom

Use this attribute to zoom in and out of your view. A value greater than 1 zooms out and a value less than 1 zooms in.

Render Pan Zoom

The 2D Pan/Zoom feature does not render by default. Select this attribute to render the pan/zoom view. Disabling this attribute renders the scene from the full camera view.

Movement Options

Undoable Movements

See Undoable Movements.

Center of Interest

The distance from the camera to the center of interest, measured in the scene’s linear working unit.

Tumble Pivot

The point the Tumble tool pivots the camera about when Tumble Camera About is set to Tumble Pivot in the Tumble Tool settings window.

Use Pivot As Local Space

Enable this attribute so that the tumble tool does a local axis tumble, using the camera's tumble pivot as a relative tumble point.

Orthographic Views

See Orthographic Views for more information.