Example: To Render from a BAT File

If you want to render several scenes in a batch process, you can create a BAT file containing all the scenes and switches needed to get the results you want. Just like a text file, you can build your BAT file using any text editor. For this example, let's say you have three scenes, in various stages, and you want each rendered using different settings.

  1. Open your text editor.
  2. On the first line, enter the following text. This example assumes that the scene is far from finished, but that you want to test a chunk of animation.

    “c:\program files\autodesk\[program folder name]\3dsmaxcmd” -o=“c:\program files\autodesk\[program folder name]\renderoutput\scene1.jpg” -w=320 -h=240 -frame=1-33 “c:\program files\autodesk\[program folder name]\scenes\scene1.max”

    The second scene is almost ready, but you need to test the look of some materials and do a video color check:

    “c:\program files\autodesk\[program folder name]\3dsmaxcmd” -o=“c:\program files\autodesk\[program folder name]\renderoutput\scene2.jpg” -w=640 -h=480 -force2Sided=true -videoColorCheck=true “c:\program files\autodesk\[program folder name]\scenes\scene2.max”

    The last scene is complete, and you want to render a higher-resolution image using settings you've saved in a TXT file that you always use for final renderings:

    “c:\program files\autodesk\[program folder name]\3dsmaxcmd” @c:\finalrender.txt -o=“c:\program files\autodesk\[program folder name]\renderoutput\scene3.jpg” “c:\program files\autodesk\[program folder name]\scenes\scene3.max”

  3. After entering these three command lines, save your file as a BAT file, and then open (run) the file.
  4. Click OK to start rendering.