Common camera parameters FCOLLADA extension: Difference between revisions
Jump to navigation
Jump to search
Some parameters moved to the MAYA profile in 3.04. |
extensions->extension |
||
Line 1: | Line 1: | ||
{{ | {{extension|company=[[Feeling Software extensions|Feeling Software]]|product=[[FCollada]]}} | ||
== Common Camera Parameters == | == Common Camera Parameters == |
Latest revision as of 04:56, 23 February 2009
Extension information |
---|
|
This article is part of the COLLADA extensions directory |
Adding to the extensions directory |
Common Camera Parameters
This <extra> at the <camera> level includes common camera parameters supported directly by the FCollada library and used within ColladaMaya. These parameters are common to both perspective and orthographic types of camera. In 3.04, these parameters will be moved to the MAYA profile.
Element | Attributes supported | Description |
---|---|---|
<horizontal_aperture> | sid | Contains one floating point value: the horizontal size, in centimeters, of the camera lens. This element's contents can be animated using the 'sid' attribute.
Moved to the MAYA profile in 3.04 |
<lens_squeeze> | sid | Contains one floating point value: a multiplicative factor for the horizontal size of the camera lens. This element's contents can be animated using the 'sid' attribute.
Moved to the MAYA profile in 3.04 |
<vertical_aperture> | sid | Contains one floating point value: the vertical size, in centimeters, of the camera lens. This element's contents can be animated using the 'sid' attribute.
Moved to the MAYA profile in 3.04 |
Examples
<camera id="perspective-camera"> <optics> <technique_common> <perspective> <yfov>37.8492</yfov> <aspect_ratio>1.5</aspect_ratio> <znear>0.01</znear> <zfar>1000</zfar> </perspective> </technique_common> </optics> <extra> <technique profile="MAYA"> <film_fit>0</film_fit> <film_fit_offset>0</film_fit_offset> <film_offsetX>0</film_offsetX> <film_offsetY>0</film_offsetY> </technique> <technique profile="FCOLLADA"> <vertical_aperture>2.4</vertical_aperture> <horizontal_aperture>3.59999</horizontal_aperture> <lens_squeeze>1</lens_squeeze> </technique> </extra> </camera>
<camera id="orthographic-camera"> <optics> <technique_common> <orthographic> <xmag>15</xmag> <aspect_ratio>1.5</aspect_ratio> <znear>0.01</znear> <zfar>1000</zfar> </orthographic> </technique_common> </optics> <extra> <technique profile="FCOLLADA"> <vertical_aperture>2.4</vertical_aperture> <horizontal_aperture>3.59999</horizontal_aperture> <lens_squeeze>1</lens_squeeze> </technique> </extra> </camera>