RenderChannelColor alias

Hello all,
I’m looking for a way to get all of the available render channels and set them up. I see many are separate classes like RenderChannelNormals, RenderChannelZDepth, etc. But it looks like many are part of RenderChannelColor? Via the ‘alias’ parameter it looks like.

Is there a way to get all of the available aliases, preferably in Python / c++?

I’d like to be able to setup up channels like diffuse and reflection and all the others.

thanks,
- Eric

See the RenderElements API. In Python:

import vray
renderer = vray.VRayRenderer()
renderer.renderElements.getAvailableTypes()  # this will print all available type identifiers which correspond to those aliases.
renderer.renderElements.add(type, instanceName, displayName)   # the type is one of the strings returned by the above function; instanceName (optional) the new plugin name; displayName (optional) the name of the channel in the VFB

The same is available in C++ and all supported languages.

See the included examples in:
AppSDK/examples/python/advanced/01-render-elements.py
AppSDK/examples/cpp/advanced/01-render-elements

Perfect! Thanks for pointing that out, I see the getPlugin() method too so I can set all the detailed settings. Thanks Stanislav.