Your scene file determines whether you render a single frame or an animation. You can render from a shell or a command line. Before rendering, you may want to close all applications, including Maya, to maximize the amount of memory available for rendering.
When you render from a command line, you can set flags that override some of the Render Settings, saving time during test renders.
For more information, see Render from the command line.
To get quick renderer-specific information
where rendername is the name of the renderer.
All flags have a short description. Each flag corresponds to the appropriate section of the Render Settings window. See the Render Settings documentation for more detailed information on each option.
To obtain a complete list of command line Render options, from a shell or command line
To render a scene with a specific renderer from a shell or command line
Render -r <renderername> <options> scene
Render <options> -proj <proj path> scene
/Applications/Autodesk/maya2010/Maya.app/Contents/bin/Render -r mr -v 5 -proj /Users/username/Documents/maya/projects/default /Users/username/Documents/maya/projects/default/myScene.ma
In this example, Maya renders into the images directory specified after the -proj flag.
To render a scene with the renderer specified in the file from a shell or command line