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 | |
---|---|---|---|
accumBufferPasses (abp) | int | ||
|
|||
alphaSource (alphaSource) | unicode | ||
|
|||
antiAliasMethod (aam) | unicode | ||
|
|||
cameraIcons (ci) | bool | ||
|
|||
clearClr (cc) | float, float, float | ||
|
|||
collisionIcons (coi) | bool | ||
|
|||
crossingEffect (ce) | bool | ||
|
|||
currentFrame (cf) | bool | ||
|
|||
drawStyle (ds) | unicode | ||
|
|||
edgeSmoothness (es) | float | ||
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. |
|||
emitterIcons (ei) | bool | ||
|
|||
fieldIcons (fii) | bool | ||
|
|||
flipbookCallback (fc) | unicode | ||
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 | ||
|
|||
frameIncrement (fi) | int | ||
|
|||
frameStart (fs) | int | ||
|
|||
fullResolution (fr) | bool | ||
|
|||
grid (gr) | bool | ||
|
|||
imageDirectory (id) | unicode | ||
|
|||
imageName (imageName) | unicode | ||
|
|||
imageSize (imageSize) | int, int, float | ||
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) | bool | ||
|
|||
lightingMode (lm) | unicode | ||
|
|||
lineSmoothing (ls) | bool | ||
|
|||
offScreen (os) | bool | ||
|
|||
renderFrame (rf) | unicode | ||
|
|||
renderSequence (rs) | unicode | ||
|
|||
sharpness (sh) | float | ||
|
|||
shutterAngle (sa) | float | ||
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. |
|||
textureDisplay (txd) | bool | ||
|
|||
transformIcons (ti) | bool | ||
|
|||
useAccumBuffer (uab) | bool | ||
|
|||
viewport (vp) | int, int, float | ||
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) | bool | ||
|
Derived from mel command maya.cmds.glRender
Example:
import pymel.core as pm
# Do a hardware render
pm.glRender(e=1)