ASSEMBLER
  • Assembler UI
    • Overview
    • Installation
      • Application
      • Delegate
    • Edition
      • Project
      • Group
      • Process Group
      • Creation Group
    • Logs
  • Use Cases
    • Learning
      • 3D Design - Maya
        • Object
        • Reserved Object
        • Transform
        • Deformer
        • Material
        • Merge
        • Render
        • Motion
      • 3D Design - Max
        • Object
        • Reserved Object
        • Transform
        • Modifier
        • Material
        • Merge
        • Render
        • Motion
      • Compositing - Nuke
        • Create Node
        • Animate Knob
        • Node Group
        • Render
        • Template
        • Export
    • Pipeline Integration
      • Overview
      • Scene Config - Maya
      • Data Sharing - Maya, Nuke
    • Modelisation and Anim
      • Othoniel Kiosk - Max
      • Funny Grass - Maya
      • Jungle bridges - Max
      • Magic Foutain - Max
  • Specifications
    • Overview
    • Project
      • Overview
      • Workspace
      • Creation Group
      • Process Group
    • Creation
      • Overview
      • Indexed Creation
      • Process Use
    • Process
      • Overview
      • 3D Desgin - Maya
      • 3D Design - Max
      • Compositing - Nuke
      • Pipeline
    • Function
      • Overview
      • Temporal Function
    • Motion
      • Overview
    • Template
    • Format
  • References
    • Maya Node Attributes
      • Object
      • Reserved Object
      • Shader
      • Deformer
      • Transform
      • Render
    • Max Class Properties
    • Nuke Node Knobs

Material - Maya

 This use case shows how to apply a materiam on an object.
Material 

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
@ assembler 2017