Maya texture placement MAYA extension

From COLLADA Public Wiki
Revision as of 22:13, 7 October 2007 by Glaforte (talk | contribs) (Created page.. not yet complete.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Extension information
This article is part of the COLLADA extensions directory
Adding to the extensions directory

Maya Texture Placement Parameters

This <extra> at the <texture> level declares texture placement parameters for standard materials. While this extension was originally written for Maya, it is also used by 3dsMax and MotionBuilder to support a sub-set of the Maya texture placement parameters. See below to know which parameters are supported by the different tools.


Flags:

  • A: Animatable. These elements are animatable using the 'sid' attribute.
  • MB: ColladaMotionBuilder.
  • MX: ColladaMax
  • MY: ColladaMaya


Element Flags Description
<wrapU>
<wrapV>
A,MY Contains one boolean value that represents whether the texture should wrap within the U or V dimensions.
<mirrorU>
<mirrorV>
A,MY Contains one boolean value that represents whether the texture should mirror within the U or V dimensions. Mirroring can only occur if the corresponding wrap flag is also set.
<coverageU>
<coverageV>
A,MY Contains one floating-point value that represents the portion of the image to use for texturing.


Examples

 <diffuse>
   <texture ...>
     <extra>
       <technique profile="MAYA">
         <wrapU>1</wrapU>
         <wrapV>0</wrapV>
       </technique>
     </extra>
   </texture>
 </diffuse>