ACES is the Academy Color Encoding System and developed by the Academy of Motion Picture Arts and Sciences. ACEScg is the version of the ACES encoding system for computer graphics, widely adopted in the industry. It has become the industry standard, because compared to sRGB, ACEScg works with a lot more color information, illustrated in this gamut graph.
V-Ray 5 and Starting with version 5, V-Ray 6 come comes with an implementation of the ACEScg out of the box and in this tutorial we explain the render setup in V-Ray for 3ds Max in this color space. V-Ray supports only ACEScg as the primary color space of choice in CGI.
UI Text Box
type
note
The VThe V-Ray ACEScg workflow does not require an active OCIO configuration. In V-Ray 5 and later, the The relevant ACEScg transformations are part of the V-Ray core. However, if you do decide to use an OCIO configuration, the OCIO environment variable needs to be set and pointing pointed to a suitable OCIO configuration. See the Using OCIO configuration section below for more information.
Column
width
5%
Column
width
35%
Setup
...
Section
Column
width
60%
From Render Setup > Settings > Color management choose ACEScg.
For more information on the Color Management rollout, follow the link.
Column
width
5%
Column
width
35%
...
Section
Column
width
60%
Alternatively, leave the checkbox disabled and set the RGB color space manually for each VRayBitmap texture. This can also be done if there are files that are exception to the rule-based file naming system - the settings in the VRayBitmap texture overrides the automatic algorithm.
UI Text Box
type
tip
Textures for bump mapping, normal mapping, displacement, etc. are usually encoded in linear sRGB andthey need to use the Raw color space. If you assign sRGB or any other color space for them, they produce wrong results.
It is recommended to assign Raw color space for such texture.
Column
width
5%
Column
width
35%
...
Section
Column
width
60%
UI Text Box
type
note
In addition to bitmaps, V-Ray converts the light’s temperature settings, VRaySun, VRaySky, and the VRayMtl dispersion to the rendering color space.
VRayColor map has its own special controls to specify what color space the red/green/blue values are in.
Column
width
5%
Column
width
35%
...
Section
Column
width
60%
An automated OCIO configuration can be set with the OCIO environment variable.
There are а few steps you need to follow to set this up:
Set the OCIO environment variable and point it to the config.ocio file.
For example, to set up the OCIO configuration with aces_1.23:
Code Block
language
xmlbash
set OCIO=C:\OpenColorIO-Configs\cg-config-v1.0.0_aces_1.2\config.ocio-v1.3_ocio-v2.0ocio
3.When the VFB Display Correction is switched to OCIO, V-Ray reads the OCIO variable and loads the configuration there as well. Choose ACES - ACEScg for your Input Colorspace and sRGB for your View Transform. Leave the Display Device at ACES.
VRAY_VFB_OCIO – Automatically switches the OCIO button of the V-Ray VFB on.
For example, set a default override OCIO input color space, display device, and view transform:
Code Block
language
bash
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= ACES - ACEScg
set VRAY_VFB_OCIO_DISPLAY_DEVICE= ACESsRGB
set VRAY_VFB_OCIO_VIEW_TRANSFORM = sRGB=ACES 1.0 - SDR Video
UI Expand
title
Click here to expand an image of the Environment Variables window
UI Text Box
type
tip
This setup requires using all of the variables, including the OCIO variable pointed to an OCIO configuration file.
UI Text Box
type
tip
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.
UI Text Box
type
note
When rendering with V-Ray Standalone or using distributed rendering, the OCIO environment variables must be set accordingly on all other machines that are used for rendering.
UI Text Box
type
note
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.