Render - Max
This use case shows how to render a scene.
Simple Render
How to render a teapot.output creation
<Creation id="output3d1" filename="scene/output3d1.jpg">
<Info name="width">1920</Info>
<Info name="height">1080</Info>
</Creation>
process
<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>
result
Specifications: Process
Render with params
How to render a teapot with renderer an exposure params.output creation
<Creation id="output3d2" filename="scene/output3d2.jpg">
<Info name="width">1920</Info>
<Info name="height">1080</Info>
</Creation>
process
<Process id="render2" 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">output3d2</Param>
<Param name="resolution">1920;1080</Param>
<Param name="camera">camera</Param>
<Param name="renderer.class">Default_Scanline_Renderer</Param>
<Param name="renderer.shadows">true</Param>
<Param name="exposure.class">Linear_Exposure_Control</Param>
<Param name="exposure.contrast">80</Param>
</Render>
</Process>
result
Specifications: Process
Render an animation
How to render a teapot with an animated bend modifier.output creation
<Creation id="output3d3" path="group" filename="scene/output3d3/frame.jpg">
<Info name="index.list">true</Info>
<Info name="width">1920</Info>
<Info name="height">1080</Info>
</Creation>
process
<Process id="render3" type="3d">
<Param name="reset">1</Param>
<Object create="object" name="teapot">
<Param name="class">teapot</Param>
<Param name="radius">10</Param>
<Param name="bend">modifier</Param>
<FuncParam name="bend.bendAngle" type="floatAtoB" frames="0-100">
<Param name="begin">0</Param>
<Param name="end">30</Param>
<Param name="velocity">square</Param>
</FuncParam>
</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">output3d3</Param>
<Param name="resolution">1920;1080</Param>
<Param name="frames">0-100</Param>
<Param name="camera">camera</Param>
</Render>
</Process>
result
Specifications: Process