9

212 Chapter 17: Rendering
“c:\progr a m fi les\autodesk\3dsmax9\
3dsm axcmd” -output Na me=“ c:\prog r a m
files\autodesk\3dsmax9\renderoutput\
myImage.jpg” -w=640 -h=480 c:\program
files\autodesk\3dsmax9\scenes\myscene.max”
w ill g ive you the same results. The use of the equal
sign can give your command-line files more of an
INI f ile appearance.
Note: The switch -submit:[manager_name] is the
only case where a colon is necessary.
On/Off Command-Line Switches
Manyoftheswitchesyoullusearesimpleon/off
toggles, such as the -rfw: and -renderFields:
switches. If you prefer, instead of using a 1 or 0 to
designate their states, you can use Tr ue or Fal se .
Forexample,torenderascenetoaspecifiedfile
typeanddisplaytheRenderedFrameWindow,
your command line might look like this;
“c:\progr a m fi les\autodesk\3dsmax9\
3dsm axcmd” -output Na me=“ c:\prog r a m
files\autodesk\3dsmax9\renderoutput\
myImage.jpg” -rfw=true c:\pro gr am
files\autodesk\3dsmax9\scenes\myscene.max”
Basic Options
Switch Effect
-?
Displays a list of these sw itche s in the
DOS window.
-x
Shows a list of example command
lines.
-v:#
Sets the verbosity level, where # is
an integer from 0 (least verbose) to
5(mostverbose).
@command_file
or -cmdFile:
command_file
Points to a separate file containing
command-line options.
-preset:<filename>
or -rps:<filename>
Uses a render preset file where
<filename> isthenameofthepreset
file.
Switch Effect
-sceneState:
<scene-state-
name>
Loads the specified scene state file
before rendering the image.
-batchRender Renders all enabled tasks in the Batch
Render dialog.
-batchRender:
<batch-render-
name>
Renders batch renders in the file
named batch-render-name.
-preRenderScript:
<filename> or
-script:<filename>
Uses a pre-render script w here
<filename> isthenameofthescript
file.
-postRenderScript:
<filename>
Uses a post-render script where
<filename> isthenameofthescript
file.
-workPath:
<pathname>
Root location for job data folders.
-pathFile:
<pathname>
Path configuration f ile (MXP format).
-bitmapPath:
<pathname>
(obsolete) Provides an extra bitmap
path. Multiple paths can b e entered
and UNC nam ing conventions can be
used.
-xrefPath:
<pathname>
(obsolete) Lets you specify extra XRef
paths. Multiple paths can be entered
and UNC nam ing conventions can be
used.
-split:<strips,
overlap>
Split render: number of strips, overlap
amount.
-strip:<strips,
overlap, strip>
Split render: number of strips, overlap
amount, strip number (starting
with1). Thisissimilartothe-split
switch, but lets you rend er a specific,
individual strip.
Note:
Thestripvaluehasnoeffectwhen
submitting the job to backburner. The
jobwillstillrenderallstrips.Splitand
Stitch functionality is intended for local
rendering only.
-stitch:<strips,
overlap>
Stitches strips (see ab ove), combining
them into a single imag e: number
of strips, overlap amount. Stitch
functionality is intended for local
rendering only.