Material - Maya
This use case shows how to apply a materiam on an object.
Material
How to apply a red blinn material on two spheres and a textured blinn material on another sphere with the map function.wood creation
<Creation id="wood" filename="wood.jpg">
<Info name="width">1000</Info>
<Info name="height">1000</Info>
</Creation>
process
<Process id="mayaMaterial" type="3d" delegate="maya">
<Param name="reset">1</Param>
<Object create="object" name="sphere">
<Param name="class">sphere</Param>
<Param name="radius">2</Param>
<Param name="material">blinn1</Param>
<Param name="material.class">blinn</Param>
<Param name="material.color">1;0;0</Param>
</Object>
<Object create="object" name="sphere2">
<Param name="class">sphere</Param>
<Param name="radius">2</Param>
<Param name="pos.z">6</Param>
<Param name="material">blinn2</Param>
<Param name="material.class">blinn</Param>
<Param name="material.color">map(wood, wood)</Param>
</Object>
<Object create="object" name="sphere3">
<Param name="class">sphere</Param>
<Param name="radius">2</Param>
<Param name="pos.z">12</Param>
<Param name="material">blinn1</Param>
</Object>
</Process>
result
Specifications: Process