Imager modo 401 extension: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
modo 401 imager extensions...
Document image params.
Line 45: Line 45:
:{| {{prettytable}}
:{| {{prettytable}}
|+ '''Child Elements'''
|+ '''Child Elements'''
!Name||Description||Default||Occurrences
!sid||name||Description||type||Default||Occurrences||Named values
|-
|-
|Example||Specifies foo.||N/A||0 or more
|apertureX||Film_Width||Width of the camera aperture||float||0.036||1||
|-
|apertureY||Film_Height||Height of the camera aperture||float||0.024||1||
|-
|offsetX||Film_Offset_X||Horizontal offset of the camera aperture||float||0||0 or 1||
|-
|offsetY||Film_Offset_Y||Vertical offset of the camera aperture||float||0||0 or 1||
|-
|filmFit||Film_Fit||Method for fitting the aperture||Name||fill||0 or 1||fill, horizontal, vertical, overscan
|}
|}



Revision as of 05:15, 18 August 2009

Extension information
This article is part of the COLLADA extensions directory
Adding to the extensions directory

<extra>/<technique profile="modo401">/<param> Elements

Category: (core) Camera (See list of specification categories)
Introduction: Describes custom cameras, include the specialized camera imager settings supported by modo 401.

Concepts

The modo render engine provides a general purpose camera, with an extended imager described in terms of an aperture size and an offset.
Attributes
Name Type Description Required?
sid xs:ncname A unique symbol within the technique; one for each param. Yes
name xs:ncname A user-friendly name for the param. no
Related Elements
Parent element(s) <camera>/<imager>
Extra and/or Technique <extra>/<technique profile="modo401">
Child elements None
Other
Child Elements
sid name Description type Default Occurrences Named values
apertureX Film_Width Width of the camera aperture float 0.036 1
apertureY Film_Height Height of the camera aperture float 0.024 1
offsetX Film_Offset_X Horizontal offset of the camera aperture float 0 0 or 1
offsetY Film_Offset_Y Vertical offset of the camera aperture float 0 0 or 1
filmFit Film_Fit Method for fitting the aperture Name fill 0 or 1 fill, horizontal, vertical, overscan

Details

Examples

   <library_cameras>
       <camera id="Camera-Camera" name="Camera">
           ...
           <imager>
               <technique profile="modo401">
                   <param sid="apertureX" name="Film_Width" type="float">0.036</param>
                   <param sid="apertureY" name="Film_Height" type="float">0.024</param>
                   <param sid="offsetX" name="Film_Offset_X" type="float">0</param>
                   <param sid="offsetY" name="Film_Offset_Y" type="float">0</param>
                   <param sid="filmFit" name="Film_Fit" type="Name">fill</param>
               </technique>
           </imager>
       </camera>
   </library_cameras>