Render Element Gamma

Hello,

currently when using the vrend command via mayapy there seems to be no way to influence the gamma of the render elements that are written, via the renderpreset or otherwise.

The only way to influence the gamma that is written seems to be opening the scene in Maya and tick “Display colors in sRGB space” in the VFB. Unfortunately I could not find a way to change this when using mayapy.

Is there any solution to this?

Thanks in advance!

Try one of these:


vray vfbControl -srgb 0;
vray vfbControl -srgb 1;

For more info Chaos Docs

Hello t.petrov,

thanks for the info!

Unfortunately it does not seem to affect the renderoutput when rendering from the interpreter:

mel.eval(“vray vfbControl -srgb 0;”)
mel.eval('vrend -camera ’ + camera_node)

Above commands are still writing 2.2 Gamma elements. If I open up Maya I can confirm that the command works for me.

Thanks.

What type of output format have you chosen? (png, exr, other?)