Views:51,405 |
||
Updated:Apr 12, 2006 |
Readership Level:Intermediate |
|
Tags: |
||
Maya Versions:1.x, 2.x, 3.x, 4.x, 5.x, 6.x, 7.x |
Platforms:windows |
|
Owner: |
Language:English |
|
whereis a Maya ASCII or a Maya Binary file.
startFrame -sstarting frame for an animation sequence
endFrame -eend frame for an animation sequence
byFrame -bby frame (or step)
for an animation sequence
startExtension -sestarting number for the output image
frame file name extensions
byExtension -beby extension (or step) for the output
image frame file name extension
extensionPadding -padnumber of digits in the output image
frame file name extension
project -projproject directory to use
renderDirectory -rddirectory in which to store image file
image -imimage file output name (identical to -p)
pix -pimage file output name (identical to -im)
mayaExtension -meappend maya file name to image name
if true
mayaFormat -mfappend image file format to image name
if true
cameraOverride -camall subsequent -im -p -ar -sa flags
apply only to
(specifying '-cam' enables
rendering for that camera). If '-cam
' is on the command line,
then only the camera(s) specified on the
command line will be rendered.
gamma -ggamma value
ignoreFilmGate -ifguse the film gate for rendering if false
imageHeight -ihheight of image in pixels
imageWidth -iwwidth of image in pixels
deviceAspectRatio -arddevice aspect ratio for the rendered image
aspectRatio -araspect ratio for the film aperture
maximumMemory -mmrenderer maximum memory use
(in Megabytes)
motionBlur -mbmotion blur on/off
motionBlurByFrame -mbfmotion blur by frame
shutterAngle -sashutter angle for motion blur (1-360)
motionBlur2D -mb2dmotion blur 2D on/off
blurLength -bll2D motion blur blur length
blurSharpness -bls2D motion blur blur sharpness
smoothValue -smv2D motoin blur smooth value
smoothColor -smc2D motion blur smooth color on/off
keepMotionVector -kmvkeep motion vector for 2D motion blur on/off
useFileCache -ufuse the tessellation file cache
optimizeInstances -oidynamically detects similarly
tessellated surfaces
reuseTessellations -rutreuse render geometry to
generate depth maps
useDisplacementBbox -udbuse the displacement bounding box scale to
optimize displacement-map performance
enableDepthMaps -edmenable depth map usage
enableRayTrace -ertenable ray tracing
reflections -rflmaximum ray-tracing reflection level
refractions -rfrmaximum ray-tracing refraction level
renderLayers -rlrender each layer separately
renderPasses -rprender passes separately
renderSubdirs -rsrender layer output placed in subdirectories
shadowLevel -slmaximum ray-tracing shadow ray depth
edgeAntiAliasing -eaaThe anti-aliasing quality of EAS
(Abuffer). One of:
highest high medium low
useFilter -ufilif true, use the multi-pixel filtering
otherwise use single pixel filtering.
pixelFilterType -pftwhen useFilter is true, identifies one
of the following filters:
box, triangle, gaussian,
quadraticbspline, plugin
shadingSamples -ssglobal number of shading samples
per surface in a pixel
maxShadingSamples -mssmaximum number of adaptive shading
samples per surface in a pixel
visibilitySamples -mvsnumber of motion blur visibility samples
maxVisibilitySamples -mvmmaximum number of motion blur
visibility samples
volumeSamples -vsglobal number of volume shading samples
particleSamples -pssnumber of particle visibility samples
redThreshold -rctred channel contrast threshold
greenThreshold -gctgreen channel contrast threshold
blueThreshold -bctblue channel contrast threshold
coverageThreshold -cctpixel coverage contrast threshold
(default is 1.0/8.0)
outputFormat -ofoutput image file format. One of: si
soft softimage, gif, rla wave
wavefront, tiff tif, tiff16 tif16,
sgi rgb, sgi16 rgb16, alias als pix,
iff tdi explore maya, jpeg jpg,
eps, maya16 iff16, cineon cin fido,
qtl quantel, tga targa, bmp, sgimv
mv, qt Quicktime QuickTime, AVI avi
shadowPass -spgenerate shadow depth maps only
abortOnMissingTexture -amt abort renderer when encountered missing texture
dontReplaceRendering -rep do not replace the rendered image if it already exists
verbose -verboseperform the render verbosely if on
iprFile -ipr create an IPR file
xResolution -xset X resolution of the final image
yResolution -yset Y resolution of the final image
xLeft -xlset X sub-region left pixel boundary
of the final image
xRight -xrset X sub-region right pixel boundary
of the final image
yLow -ylset Y sub-region low pixel boundary
of the final image
yHigh -yhset Y sub-region high pixel boundary
of the final image
displayLayer -lone or more displayLayer names to render
numberOfProcessors -nnumber of processors to use. 0 indicates
use all available.
tileWidth -twforce the width of the tiles. Valid values
are between 16 and 256.
tileHeight -thforce the height of the tiles. Valid values
are between 16 and 256.
-cont allow renderer to continue when it hits errors
-keepPreImage keep the renderings prior to post-process around
*** Remember to place a space between option flags and their arguments. ***
Any boolean flag will take on, yes, true, or 1, as TRUE,
and off, no, false, or 0 as FALSE.
e.g. Render -x 512 -y 512 -cam persp -im test -of sgi -mb on -sa 180 file.ma
Comments
very cool script! Does anyone know how to customize it so you can rename images based on the render layer?
right now I'm using a custom image name for each camera, it's rendering out each render layer into a separate sub-directory, but the file names are the same in each render layer sub-directory.
Thank you very much for this wonderful script, i have 6 cameras to render overnight and I need my sleep also lol XD
GREAT! now how do I do this on a mac?
I've tried using this script with multiple scenes, projects, and computers, and I keep getting some error message and closes out. Have any idea whats causing it?
don't working
Write a Comment