Using your own OCIO config

OCIO Roles

RenderMan relies on a few OpenColorIO roles that need to be defined in your config.ocio file.

In practice, these 4 roles will be what most people need to effectively use colour-management. Still it is possible to add more role through the JSON configuration file.

JSON Configuration file

Many configurations contains a large number of color spaces, for special cases that are not related to 3D rendering. The only things that matter to 3D artists boil down to a handful of controls.

In order to provide a central configuration point, RenderMan requires a JSON configuration file to provide:

File name

The JSON file's name is based on the directory containing the config.ocio file:

$RMANTREE/lib/ocio/basic/config.ocio  →  man_color_config_basic.json
$RMANTREE/lib/ocio/ACES-1.2/config.ocio  →  man_color_config_ACES-1.2.json

File location

At startup, the files in $RMANTREE/etc will always be read.

If the $RMAN_COLOR_CONFIG_DIR environment variable is defined, all files matching the man_color_config_*.json pattern in that directory will be loaded. This mechanism can be used to override stock configurations or add support for a custom OpenColorIO configuration.