Process Overview

 Declared in a process group, a process contains operations the delegate software has to execute (Max, Maya or Nuke).
There is 3 process types
3d operation (Max, Maya):
  • Create Object, Transform Object, Set Object properties, etc.
  • Assign Material or Shader
  • Animate Object, Apply Motion
  • Render a Scene
  • Import Data, Export Data
  • Execute Script (maxscript, mel or python)
Compositing operation (Nuke):
  • Create Node, Set Knob properties, Get Knob properties, etc.
  • Animate Knob, Apply Motion
  • Render a graph-node
  • Import Data, Export Data
  • Execute Script (python)
Examples
Maya Process example
<Process id="mayaRender1" 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">blinn</Param>
        <Param name="material.class">blinn</Param>
        <Param name="material.color">map(wood, wood)</Param>
    </Object>
    <Object create="object" name="spot">
        <Param name="class">spotLight</Param>
        <Param name="coneAngle">80</Param>
        <Param name="intensity">2</Param>
        <Param name="pos.z">6</Param>
    </Object>
    <Object name="persp">
        <Param name="pos">8;6;8</Param>
        <Param name="rot">-30;45;0</Param>
    </Object>
    <Render>
        <Param name="creationId">outputMaya</Param>
        <Param name="resolution">1920;1080</Param>
        <Param name="camera">persp</Param>
        <Param name="default.gammaCorrection">2</Param>
    </Render>
</Process>
Max Process example
<Process id="render1" type="3d">
    <Param name="reset">1</Param>
    <Object create="object" name="teapot">
        <Param name="class">teapot</Param>
        <Param name="radius">10</Param>
    </Object>
    <Camera create="target" name="camera">
        <Param name="pos">0;-60;40</Param>
        <Param name="target">0;0;0</Param>
        <Param name="fov">60</Param>
    </Camera>
    <Render>
        <Param name="creationId">output3d1</Param>
        <Param name="resolution">1920;1080</Param>
        <Param name="camera">camera</Param>
    </Render>
</Process>
Nuke Process example
<Process id="renderCompositing" type="compositing">
     <Param name="reset">true</Param>
     <Node name="read" create="Read" pos="0;0">
             <Param name="creationId">mapAnim</Param>
             <Param name="frame.range">true</Param>
     </Node>
     <Node name="transform" create="Transform" link="read" pos="0;100">
             <FuncParam name="translate" type="linear" frames="1-75/2">
                     <Param name="begin">-500;0</Param>
                     <Param name="end">0;0</Param>
             </FuncParam>
             <FuncParam name="scale" type="linear" frames="1-75/2">
                     <Param name="begin">1.5</Param>
                     <Param name="end">1</Param>
             </FuncParam>
     </Node>
     <Node name="write" create="Write" link="transform" pos="0;150"/>
      <Render nodeName="write">
             <Param name="creationId">outputComp1</Param>
             <Param name="frames">1-75</Param>
     </Render>
</Process>
Pipeline Process example
<Process id="pipelineFountain" type="pipeline">
    <Exec processId="fountainPath" mode="updatePath" active="true"/>
    <Exec processId="fountainPath" unique="true">
        <Var name="u" type="sequence">1-4000</Var>
        <Var name="begin" type="random">
            <Param name="trunc">1</Param>
            <Param name="min">0</Param>
            <Param name="max">50</Param>
        </Var>
        <Var name="length" type="random">
            <Param name="trunc">1</Param>
            <Param name="min">25</Param>
            <Param name="max">50</Param>
        </Var>
        <Var name="rot" type="random">
            <Param name="min">-180</Param>
            <Param name="max">180</Param>
        </Var>
    </Exec>
    <Exec processId="fountainRender" active="false"/>
</Process>