createFrameBufferContributions

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:

  • Diffuse
  • Reflection
  • Refraction
  • Specular
  • Subsurface

Usage

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

#Create instance
createFrameBufferContributionsInstance = createFrameBufferContributions.CreateFrameBufferContributions()
#Create/Update framebuffer passes
createFrameBufferContributionsInstance.createFrameBufferContributions()

class helga.maya.rendering.createUpdateRenderElements.createFrameBufferContributions.CreateFrameBufferContributions[source]
REWithAttrAndValueExists(attrName, attrValue)[source]
createDiffuseRE()[source]
createFrameBufferContributions()[source]

Function to create/update framebuffer passes (see above for AOV types).

createReflectionRE()[source]
createRefractionRE()[source]
createRenderElement(renderElementName)[source]
createSpecularRE()[source]
createSubsurfaceRE()[source]
vrayLoaded()[source]