Select Attribute Editor.
to view camera attributes in theSee Maya camera types for information about the type of cameras: Camera; Camera and Aim; and Camera, Aim, and Up.
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).
See Focal length.
See Camera scale.
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.)
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.
These options are described in the Create Camera Options. See also Clipping planes.
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.
Enable this option to display the near clipping plane.
Enable this option to display the far clipping plane.
Enable this option to display the frustum.
The Film Back attributes control the basic properties of a camera (for example, the camera’s film format: 16mm, 35mm, 70mm).
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.
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).
The Camera Aperture setting has no effect on the fStop. For more information on fStop, see Focus and blur.
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.
See Lens Squeeze Ratio.
See Film fit.
See Film Fit 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. |
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 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;
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.
The Film Translate value is used in 2D effects. This value indicates the artificial 2D camera pan. Enter a value into this field.
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.
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.
Specifies how the roll is applied with respect to the pivot value.
The film back is first rotated then translated by the pivot point value.
The film back is first translated then rotated by the film roll value.
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.
These attributes provide control over the camera’s focus.
For more information on this feature, see Adjust 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.
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.
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.
Scales the Focus Distance value. The valid range is 0 to infinity. The default value is 1.
Controls whether the camera generates an image during rendering, and what types of images the camera renders.
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.
If on (and Renderable is on), the camera creates an image file during rendering. The default setting is on.
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.
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.
Determines how to compute the depth of each pixel.
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.
Most often used when a particle effect is occluded by an opaque object. Maya uses the Furthest Visible Depth to create a Depth file.
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.
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.
Use this attribute for pre-compositing in Composite.
Control the appearance of the scene’s background as seen from the camera. Different cameras can use different backgrounds.
The color of the scene’s background. The default color is black.
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.
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.
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.
Select this option to enable the 2D Pan/Zoom feature.
Enter the X and Y co-ordinates to move your view horizontally and vertically.
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.
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.
See Undoable Movements.
The distance from the camera to the center of interest, measured in the scene’s linear working unit.
The point the Tumble tool pivots the camera about when Tumble Camera About is set to Tumble Pivot in the Tumble Tool settings window.
Enable this attribute so that the tumble tool does a local axis tumble, using the camera's tumble pivot as a relative tumble point.
See Orthographic Views for more information.