7.2 Procedures Related To MEL Script Attributes
- global proc DL_userPreRenderMel (string $render_pass)
This procedure is called right before the Pre Render Mel script of the render pass being rendered is executed.
- global proc DL_userPostRenderMel (string $render_pass)
This procedure is called right before the Post Render Mel script of the render pass being rendered is executed.
- global proc DL_userPreFrameMel (string $render_pass)
This procedure is called right before the Pre Frame Mel script of the render pass being rendered is executed.
- global proc DL_userPostFrameMel (string $render_pass)
This procedure is called right before the Post Frame Mel script of the render pass being rendered is executed.
- global proc DL_userPostOptionMel (string $render_pass)
This procedure is called right before the Post Option Mel script of the render pass being rendered is executed.
- global proc DL_userPreWorldMel (string $render_pass)
This procedure is called right before the Pre World Mel script of the render pass being rendered is executed.
- global proc DL_userPostWorldMel (string $render_pass)
This procedure is called right before the Post World Mel script of the render pass being rendered is executed.
- global proc DL_userPreGeoMel (string $render_pass, string $geometry_name, string $visible_lights[], int $is_shadow, string $geo_attrib_nodes[])
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:
- ` string $render_pass'
- The render pass node name
- ` 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 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 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:
- ` string $render_pass'
- The render pass node name
- ` 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 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.
3Delight for Maya 6.0. Copyright 2000-2011 The 3Delight Team. All Rights Reserved.