Maya extra camera parameters MAYA extension
Jump to navigation
Jump to search
Extension information |
---|
|
This article is part of the COLLADA extensions directory |
Adding to the extensions directory |
Maya Camera Parameters
This <extra> at the <camera> level includes extra camera parameters supported by ColladaMaya to express Maya-specific features. Currently, there are four such camera parameters. They apply to both perspective and orthographic cameras.
Element | Attributes supported | Description |
---|---|---|
<film_fit> | Contains one enumerated-type value that represents how to fit the camera on a render surface that doesn't match the wanted camera lens. 0: fill the surface, 1: fit horizontally, 2: fit vertically, 3: overscan fit. | |
<film_fit_offset> | sid | Contains one floating-point value: the amount to move the smaller image within the larger one. This value is in inches and is animatable using the sid attribute. |
<film_offsetX> | sid | Contains one floating-point value: a horizontal film back offset. This value is in inches and is animatable using the sid attribute. |
<film_offsetY> | sid | Contains one floating-point value: a vertical film back offset. This value is in inches and is animatable using the sid' attribute. |
Examples
<camera id="camera"> <extra> <technique profile="MAYA"> <film_fit>1</film_fit> <film_fit_offset>0.2</film_fit_offset> <film_offsetX>0</film_offsetX> <film_offsetY>0.5</film_offsetY> </technique> </extra> </camera>