Announcement

Collapse
No announcement yet.

Render Element Gamma

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #2
    Try one of these:
    Code:
    vray vfbControl -srgb 0;
    vray vfbControl -srgb 1;
    For more info https://docs.chaosgroup.com/display/...-FromMELscript
    V-Ray developer

    Comment


    • #3
      Originally posted by t.petrov View Post
      Try one of these:
      Code:
      vray vfbControl -srgb 0;
      vray vfbControl -srgb 1;
      For more info https://docs.chaosgroup.com/display/...-FromMELscript
      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.

      Comment


      • #4
        What type of output format have you chosen? (png, exr, other?)
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment

        Working...
        X