Long name (short name) |
Argument types |
Properties |
|
bakeSetDefault(bd)
|
string
|
|
|
Specifies a bake-set to include all objects not assigned to any other bake-set in the scene.
|
|
bakeSetOverride(bo)
|
string
|
|
|
If this parameter is given, the specified bakeset will be used instead of bakeset of each object.
|
|
camera(cam)
|
string
|
|
|
Which camera to use for computing the direction of the incident ray.
Default: current render camera
|
|
exportPathNames(xp)
|
string
|
|
|
Export option for the file references such as : ink library, include mi file, texture file,
lightmap, etc.
The string can specifies an for individual file refs, with
each character in the string representing a single file ref
entry, with meaning
0-nochange 1-absolute 2-relative 3-nopath, or
0-nochange a-absolute r-relative n-nopath.
The file ref entry is specified in this order :
link library, include mi file, texture file, lightmap, light profile,
output image, shadow map, finalgather map, photon map, demand load object mi file.
Effective only if -mi/-miStream flag is present.
Default: nochange
For example, "-xp aarrararra" will use absolute path for
link libray, include file, light profile, shadow map, demapd load object mi file,
and relative path for
texture file, lightmap, output image, finalgather map, photon map
|
|
file(f)
|
string
|
|
|
Specifies the absolute file name of the mental ray file to be generated.
Effective only if -mi/-miStream flag is present.
|
|
help(h)
|
boolean
|
|
|
Prints a verbose help message.
|
|
miStream(mi)
|
boolean
|
|
|
If this parameter is given, besides the lightmap rendering,
the command generates a mental ray file that can be used with mental ray standalone. -f/-file flag must be specified.
|
|
notUndoable(nun)
|
boolean
|
|
|
If this parameter is given, the command can not be undone.
|
|
project(prj)
|
string
|
|
|
Set the project directory.
If baking to a light map, light maps will be generated into "lightMap" sub directory in the project.
If "lightMap" directory does not exist, the command fails to write light maps.
Default: current project root directory
|
|
separator(sep)
|
string
|
|
|
If this parameter is given, baking will use this string to separate instance and shape name parts
when generating unique file names for complex dag objects (dag instances with multiple shapes, or hierarchical dag entries).
Default: no separator.
|
|
shadows(sh)
|
boolean
|
|
|
Take shadow into account.
If shadow is disabled in the mental ray render globals,
mental ray for maya will enable the shadow map, and shadow method segments will be turned on.
|
|
transferMapSpace(ts)
|
string
|
|
|
Use for transfer map operation only.
Specify the map space. "world" or "object".
Default: world
|
|
useLensBake(ulb)
|
boolean
|
|
|
Special texture bake mode, which uses a lens shader to shape the lens
to the object. Not valid with the -vertexMap flag. Best suited to baking
a single large object.
|
|
vertexMap(vm)
|
boolean
|
|
|
Bake illumination into vertices. If not present bake into a light map.
|
|