GENERATE/PREV.gifGENERATE/NEXT.gif

Controlling the Renderer

render [ camera: <camera_node> ]

       [ frame: <number> | #current ]

       [ framerange: #(f, t) | #active ]

       [ fromframe: <number> ]

       [ toframe: <number> ]

       [ nthframe: <number> ]

       [ outputwidth: <number> ]

       [ outputheight: <number> ]

       [ pixelaspect: <number> ]

       [ videocolorcheck: on | off ]

       [ renderhiddenobjects: on | off ]

       [ superblack: on | off ]

       [ force2sided: on | off ]

       [ renderatmosphericeffects: on | off ]

       [ renderfields: on | off ]

       [ fieldorder: #odd | #even ]

       [ outputfile: <string> ]

       [ outputdevice: <string> ]

       [ vfb: on | off ]

       [ netrender: on | off ]

Default actions if you don’t specify the following:

no camera      -- render currently active viewport

no frames      -- render current render settings

no outputfile      -- just render to virtual frame buffer

no vfb switch      -- vfb on

The built-in render() function used to invoke the MAX renderer, and now returns a Bitmap value containing the result of the rendering. This means you can set up and render an image under script control and then manipulate and access that image from within MAXScript.

The following renderer-specific parameters are not defined as accessible in the plug-in SDK, so they are not handled at the moment.

mapping: on/off

shadows: on/off

autoreflect: on/off

forcewireframe: on/off

wirethickness: <number>

objectmotionblur: on/off

blursamples: <number>

blurduration: <number>

blurdurationsubdivisions: <number>

raytracedshadowdepth: <number>

autoreflectiterations: <number>