The automated OCIO configuration can be further adjusted with the following VFB OCIO environment variables: VRAY_VFB_OCIO – Automatically switches the OCIO button of the V-Ray VFB on. VRAY_VFB_OCIO_INPUT_COLORSPACE – Specifies default OCIO input color space. VRAY_VFB_OCIO_VIEW_TRANSFORM – Specifies default OCIO view transform. VRAY_VFB_OCIO_DISPLAY_DEVICE – Specifies default overriding OCIO display device. For example, set a default OCIO input color space, display device, and view transform: set OCIO=C:\OpenColorIO-Configs\cg-config-v1.0.0_aces-v1.3_ocio-v2.0ocio
set VRAY_VFB_OCIO=1
set VRAY_VFB_OCIO_INPUT_COLORSPACE=ACEScg
set VRAY_VFB_OCIO_DISPLAY_DEVICE=ACES
set VRAY_VFB_OCIO_VIEW_TRANSFORM=ACES 1.0 - SDR Video |
|
export OCIO=/home/user/OpenColorIO-Configs/cg-config-v1.0.0_aces-v1.3_ocio-v2.0.ocio
export VRAY_VFB_OCIO=1
export VRAY_VFB_OCIO_INPUT_COLORSPACE=ACEScg
export VRAY_VFB_OCIO_DISPLAY_DEVICE=ACES
export VRAY_VFB_OCIO_VIEW_TRANSFORM=ACES 1.0 - SDR Video |
|
export OCIO=/home/user/OpenColorIO-Configs/cg-config-v1.0.0_aces-v1.3_ocio-v2.0.ocio
export VRAY_VFB_OCIO=1
export VRAY_VFB_OCIO_INPUT_COLORSPACE=ACEScg
export VRAY_VFB_OCIO_DISPLAY_DEVICE=ACES
export VRAY_VFB_OCIO_VIEW_TRANSFORM=ACES 1.0 - SDR Video |
|
|
This setup requires using all of the variables, including the OCIO variable pointed to an OCIO configuration file. |
The values for the input color space, display device, and view transform variables need to match the settings available in the configuration file. This example may not work with OCIO configurations other than the one used in the example. For example, VRAY_VFB_OCIO_VIEW_TRANSFORM needs to match a "ACES 1.0 - SDR Video" view transform from the configuration file. |
When rendering with V-Ray Standalone or using distributed rendering, the OCIO environment variables must be set accordingly on all machines used for rendering. The OCIO configuration files used in V-Ray VFB aren't automatically collected with the rest of the scene assets when sending a job for rendering to another machine. Use the OCIO configuration files from a shared location or copy the files manually to your render nodes to avoid mismatch in render output. |
See the Getting Started with Environment Variables page for more information. |