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 - Max

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

Material

  How to apply a transparent red standard material on a sphere, a textured standard material on a cylinder and a sphere, with file and map functions.
wood creation
<Creation id="wood" filename="wood.jpg">
     <Info name="width">1000</Info>
     <Info name="height">1000</Info>
</Creation>
process
<Process id="material" type="3d">
    <Param name="reset">1</Param>
    <Object create="object" name="teapot">
        <Param name="class">teapot</Param>
        <Param name="radius">10</Param>
        <Param name="material.class">standardMaterial</Param>
        <Param name="material.opacity">30</Param>
        <Param name="material.diffuse">red</Param>
    </Object>
    <Object create="object" name="cylinder">
        <Param name="class">cylinder</Param>
        <Param name="radius">10</Param>
        <Param name="pos.x">40</Param>
        <Param name="material.class">standardMaterial</Param>
        <Param name="material.diffuseMap.class">bitmapTexture</Param>
        <Param name="material.diffuseMap.filename">file(wood)</Param>
    </Object>
    <Object create="object" name="sphere">
        <Param name="class">sphere</Param>
        <Param name="radius">10</Param>
        <Param name="pos.x">80</Param>
        <Param name="material.class">standardMaterial</Param>
        <Param name="material.diffuseMap">map(wood)</Param>
    </Object>
</Process>
result
 Specifications: Process
@ assembler 2017