glRender is undoable, queryable, and editable.
This command provides access to the Hardware Render Manager (HRM). There
is one-and-only-one HRM in maya. The HRM controls the rendering performed
in the hardware render buffer window. This command allows shell scripts,
to modify the render state, and to initiate a render request.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-antiAliasMethod(-aam)
|
string
|
![query query](../gfx/query.gif)
|
|
Set the method used for anti-aliasing polygons: off,
uniform, gaussian.
|
|
-accumBufferPasses(-abp)
|
int
|
![query query](../gfx/query.gif)
|
|
Set the number of accum buffer render passes.
|
|
-alphaSource(-as)
|
string
|
![query query](../gfx/query.gif)
|
|
Control the alpha source when writing image files. Valid values
include: off, alpha, red, green, blue, luminance, clamp, invClamp.
|
|
-cameraIcons(-ci)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of camera icons.
|
|
-collisionIcons(-coi)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of collison model icons.
|
|
-clearClr(-cc)
|
float float float
|
![query query](../gfx/query.gif)
|
|
Set the viewport clear color (0 - 1).
|
|
-currentFrame(-cf)
|
|
|
|
Returns the current frame being rendered.
|
|
-crossingEffect(-ce)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable image filtering with a convolution filter.
|
|
-drawStyle(-ds)
|
string
|
![query query](../gfx/query.gif)
|
|
Set the object drawing style: boundingBox, points, wireframe,
flatShaded, smoothShaded.
|
|
-emitterIcons(-ei)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of emitter icons.
|
|
-edgeSmoothness(-es)
|
float
|
![query query](../gfx/query.gif)
|
|
Controls the amount of edge smoothing. A value of 0.0 gives no
smoothing, 1.0 gives default smoothing, and any other value scales
the amount of default smoothing. Must enable the accumulation buffer.
|
|
-flipbookCallback(-fc)
|
string
|
![query query](../gfx/query.gif)
|
|
Register a procedure to be called after the render sequence has
completed. Used to build the flipbook pulldown menu. See the
example section for more details about how to build this procedure.
|
|
-frameEnd(-fe)
|
int
|
![query query](../gfx/query.gif)
|
|
Set the last frame to be rendered.
|
|
-frameIncrement(-fi)
|
int
|
![query query](../gfx/query.gif)
|
|
Set the frame increment during rendering.
|
|
-fieldIcons(-fii)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of field icons.
|
|
-fullResolution(-fr)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable rendering to full image output resolution.
Must set a valid image output resolution (-is).
|
|
-frameStart(-fs)
|
int
|
![query query](../gfx/query.gif)
|
|
Set the first frame to be rendered.
|
|
-grid(-gr)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of the grid.
|
|
-imageDirectory(-id)
|
string
|
![query query](../gfx/query.gif)
|
|
Set the directory for the image files.
|
|
-imageName(-in)
|
string
|
![query query](../gfx/query.gif)
|
|
Set the base name of the image files.
|
|
-imageSize(-is)
|
int int float
|
![query query](../gfx/query.gif)
|
|
Set the image output size. Takes width, height and aspect ratio.
Pass 0,0,0 to use current port size. The image size must be equal to
or greater then the viewport size. Large images will be tiled if full
resolution rendering has been enabled (-fr/fullResolution).
|
|
-lightIcons(-li)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of light icons.
|
|
-lightingMode(-lm)
|
string
|
![query query](../gfx/query.gif)
|
|
Set the lighting mode used for rendering: all, selected, default.
|
|
-lineSmoothing(-ls)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable anti-aliased lines.
|
|
-offScreen(-os)
|
boolean
|
![query query](../gfx/query.gif)
|
|
When set, this toggle allow HRM to use an offscreen buffer
to render the view. This allows HRM to work when the application
is iconified, or obscured
|
|
-renderFrame(-rf)
|
string
|
![query query](../gfx/query.gif)
|
|
Render the current frame. Requires the name of the view in
which to render.
|
|
-renderSequence(-rs)
|
string
|
![query query](../gfx/query.gif)
|
|
Render the current frame sequence. Requires the name of the
view in which to render.
|
|
-shutterAngle(-sa)
|
float
|
![query query](../gfx/query.gif)
|
|
Set the shutter angle used for motion blur (0 - 1). A value
of 0.0 gives no blurring, 0.5 gives correct blurring, and 1.0
gives continuous blurring. Must enable the accumulation buffer.
|
|
-sharpness(-sh)
|
float
|
![query query](../gfx/query.gif)
|
|
Control the sharpness level of the convolution filter.
|
|
-transformIcons(-ti)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Set display status of transform icons.
|
|
-textureDisplay(-txd)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable texture map display.
|
|
-useAccumBuffer(-uab)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable the accumulation buffer.
|
|
-viewport(-vp)
|
int int float
|
![query query](../gfx/query.gif)
|
|
Set the viewport size. Pass in the width, height and aspect ratio.
This size will be used for all test rendering and image output size
unless full resolution (-fr) has been set and a valid image output
size (-is) has been set.
|
|
-writeDepthMap(-wdm)
|
boolean
|
![query query](../gfx/query.gif)
|
|
Enable/disable writing of zdepth to image files.
|
|