Maya extra camera parameters MAYA extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
extensions->extension |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{extension|company=[[FCollada|Feeling Software]]|product=[[FCollada|ColladaMaya]]}} | ||
== Maya Camera Parameters == | == Maya Camera Parameters == | ||
This <extra> at the <camera> level includes extra camera parameters supported ColladaMaya to express Maya-specific features. Currently, there are four such camera parameters. They apply to both perspective and orthographic cameras. | 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. | ||
Line 11: | Line 11: | ||
| <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> || || 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_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: | | <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. | | <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. | ||
|- | |- | ||
|} | |} |
Latest revision as of 05:04, 23 February 2009
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>