createDataPasses

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 following elements are created:

  • Normals
  • BumpNormals
  • VelocityFiltered
  • VelocityUnfiltered
  • ZDepth.filtered
  • ZDepth.unfiltered
  • EtAmbOcc (Ambient Occlusion from extra tex)
  • EtWorldPos (World Position from extra tex)
  • EtSTMap
  • EtFresnelLarge
  • EtFresnelSmall
  • RenderId.index

Usage

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

#Create instance
createDataPassesInstance = createDataPasses.CreateDataPasses()
#Create/Update data passes
createDataPassesInstance.createDataPasses()

class helga.maya.rendering.createUpdateRenderElements.createDataPasses.CreateDataPasses[source]
REWithAttrAndValueExists(attrName, attrValue)[source]
createBumpNormalsRE()[source]
createDataPasses()[source]

Function to create/update data passes.

createEtAmbOccRE()[source]
createEtFresnelLargeRE()[source]
createEtFresnelSmallRE()[source]
createEtSTMapRE()[source]
createEtWorldPosRE()[source]
createNormalsRE()[source]
createRamp(rampDirection=1)[source]
createRenderElement(renderElementName)[source]
createRenderIdRE()[source]
createVelocityREFiltered()[source]
createVelocityREUnfiltered()[source]
createZDepthREFiltered()[source]
createZDepthREUnfiltered()[source]
vrayLoaded()[source]