The following procedures are automatically called at specific points during rendering. Unless stated otherwise, they all receive this parameter:
Parameter | Description |
---|---|
string $render_pass | The name of the render pass being rendered. |
global proc DL_userPreRenderMel (string $render_pass)
...
This procedure is called right before the Pre Geo Mel script attribute of related geometry attribute nodes is called. The parameters passed to this procedure are:
Parameter | Description |
---|---|
string $render_pass | The name of the render pass |
being rendered. | |
string $geometry_name | The name of the geometric object about to be output. |
string $visible_lights[] | The list of renderable, visible light shapes. |
int $is_shadow | This parameter is set to |
'1' when this procedure is called during a shadow map rendering. It is set to |
'0' when called during a regular frame rendering. It can also be set to |
'-1' when it is called outside of a Frame Begin / End block. Currently this can only happen when outputting geometry instances connected to a particle instancer. | |
string $geo_attrib_nodes[] | The list of geometry attribute nodes that are either connected or inherited by the current object. |
global
proc proc DL_userPostGeoMel (string $render_pass, string $geometry_name, string $visible_lights[], int $is_shadow, string $geo_attrib_nodes[])
This procedure is called right before the Post Geo Mel script attribute of related geometry attribute nodes is called. The parameter list is identical to DL_userPreGeoMel.
global
proc proc DL_userLightPreRenderMel (string $render_pass, string $light_name, string $light_attribs_nodes[])
This procedure is called just before the Pre Render MEL script defined in light attribs node attached to the light source shape. The parameters passed to this procedure are:
...
Parameters | Description |
---|
...
string $render_pass |
...
The name of the render pass |
...
being rendered. |
...
string $light_name |
...
The light source shape name |
...
string $light_attribs_nodes[] |
...
The list of light attributes nodes attached to the light source shape. |
global
proc proc DL_userLightPostRenderMel (string $render_pass, string $light_name, string $light_attribs_nodes[])
This procedure is called just before the Post Render MEL script defined in light attribs node attached to the light source shape. The parameters list is identical to DL_userLightPreRenderMel.