Announcement

Collapse
No announcement yet.

Defaulting VFB to use OCIO Correction with Envars

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

  • Defaulting VFB to use OCIO Correction with Envars

    Hi,

    Is there an environment variable that can be set that will set the VFB to default to OCIO correction? Currently I see envars to control sRGB or Lut enable (and associated lut file) but nothing for defaulting the VFB to start with OCIO.

    http://docs.chaosgroup.com/display/V...ogrammatically

    Thanks for any info,
    Ayo

  • #2
    You can use the environment variable VRAY_VFB_OCIO=1 to enable the OCIO color correction (you might also need VRAY_VFB_SRGB=2 to disable the sRGB). The OCIO profile itself is specified with the OCIO environment variable, and the input color space, display device and view transform - with the environment variables VRAY_VFB_OCIO_INPUT_COLORSPACE, VRAY_VFB_OCIO_DISPLAY_DEVICE, VRAY_VFB_OCIO_VIEW_TRANSFORM respectively.

    In Maya, you can also use the "vray vfbControl" MEL command to control these things.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Works perfectly. Thanks Vlado.

      Is it safe to assume that if VRAY_VFB_OCIO_INPUT_COLORSPACE isn't set that the reference or scene_linear roles defined in the OCIO config file are picked up?

      Thanks again,
      Ayo

      Comment

      Working...
      X