createUpdateLightRenderElements

Automatic setup of the following VRay Render Elements in Maya. They are also the names of the channels in the multichannel exr. You can call this function as often as you want. It will not duplicate existing elements, only add missing ones. The light is split into light select elements and GI. To use these passes in Nuke with the helga.nuke.reconstruction.renderReconstruct module you need a diffuse pass from helga.maya.rendering.createUpdateRenderElements.createFrameBufferContributions.

The following elements are created:

  • Gi
  • Lighting
  • SelfIllum
  • Light Selects for each light where possible

Usage

from helga.maya.rendering.createUpdateRenderElements import createUpdateLightRenderElements
reload(createUpdateLightRenderElements)

#Create instance
createUpdateLightRenderElementsInstance = createUpdateLightRenderElements.CreateUpdateLightRenderElements()
#Create/Update shadow passes
createUpdateLightRenderElementsInstance.createUpdateLightRenderElements()

class helga.maya.rendering.createUpdateRenderElements.createUpdateLightRenderElements.CreateUpdateLightRenderElements[source]
REWithAttrAndValueExists(attrName, attrValue)[source]
createGiRE()[source]
createLSREForEachLight(lightsList)[source]
createLightingRE()[source]
createRenderElement(renderElementName)[source]
createSelfIllumRE()[source]
createUpdateLSREs()[source]
createUpdateLightRenderElements()[source]

Function to create/update light render elements (see above for AOV types).

deleteAllLsRElementSets()[source]
getAllSceneLights()[source]
getRenderElementSetsByPrefix(prefix)[source]
vrayLoaded()[source]