This page provides information about the OCIO texture in V-Ray for Blender.
Overview
V-Ray OCIO is a texture that allows users to apply OpenColorIO (OCIO) color transformations to textures to manage their look.
Note that the OCIO corrections are slow. It is advised to use OCIO sparingly and only when it is not possible or practical to apply the necessary transformations to the texture in a pre-processing step before use as a texture.
UI Path: ||V-Ray Node Editor|| > Shader > Add > Textures > V-Ray OCIO
Node Input Sockets
Basemap (input socket) – An input slot for the base texture map.
Cdl Slope (input socket) – Specifies multipliers for the red/green/blue color components.
Cdl Offset (input socket) – Specifies offsets for the red/green/blue color components.
Cdl Power (input socket) – Specifies gamma values for the red/green/blue color components.
Properties
Basemap – Sets a color to be used when no node is connected to the Base map input socket.
Config Src – Specifies the OCIO configuration.
Auto - Automatically finds the OCIO source by checking environment variable, file, and the V-Ray internal configuration.
Environment – The OCIO environment variable is used.
File – Manually set the OCIO config file.
Internal – Uses the V-Ray configuration that includes srgb_linear, raw and acescg options only.
Config File –When the Config Src is set to File, specifies the path to the configuration file here.
Inout Type – Determines how the input and output color spaces are specified:
Colorspaces – The user specifies the input and output color spaces directly.
Roles – The user specifies the input and output color space depending on the task that they want to perform, as defined in the OCIO configuration.
Mode – Specifies what color transformations to be performed:
Color Space – The texture performs color space conversions.
CDL Transform – The texture performs an ASC CDL transformation. CDL stands for "Color Decision List", that is a color grading information exchange format developed by the ASC (American Society of Cinematographers).
File Transform – The texture performs a color transformation based on another file (e.g., .3dl, .lut, .cube etc).
Log Convert – The texture performs log2lin or lin2log conversion.
Display – The texture performs color space conversion for display.
Look – The texture performs a look transform. The OCIO configuration must define looks for this mode to work.
Colorspace
These parameters are applied when the Mode is set to Color Space.
In – Specifies the input color space (the color space that the input texture is in).
Out – Specifies the output color space (typically a linear color space for rendering).
Look
These parameters are applied when the Mode is set to Look.
Look Input Colorspace – The color space of the base texture.
Look Looks – The name of the look if the OCIO configuration defines looks.
Look Output Colorspace – The output color space.
Look Direction – Specifies whether to apply Forward or Inverse transformation.
Look Ignore Errors – When enabled, attempts to perform color corrections even if there are errors.
CDL Transform
Cdl Slope – Specifies multipliers for the red/green/blue color components.
Cdl Offset – Specifies offsets for the red/green/blue color components.
Cdl Power – Specifies gamma values for the red/green/blue color components.
Cdl Saturation – Saturation value. A value of 0.0 makes the image grayscale.
Cdl Direction – Specifies whether the Forward or the Inverse CDL transformation will be applied.
Cdl Use File – When enabled, the CDL parameters are read from a .cc or a .ccc file instead of specified directly.
Cdl File – Specifies a .cc or .ccc file to read.
Cdl Cccid – Specifies the color correction ID as specified in the color correction file.
File Transform
These parameters are available when the Mode is set to File Transform.
Filetr File – Specifies a color transformation file (.3dl, .cube, .lut etc).
Filetr Cccid – Specifies the color correction ID if present in the file.
Filetr Direction – Specifies whether forward or inverse color transformation should be applied. Not all file formats support inverse transformations.
Filetr Interpolation – If the file contains tabulated data (e.g., .cube files), specifies how this data is interpolated.
Nearest – No interpolation. The nearest suitable color from the table is picked up. This method is fast, but may introduce artifacts, especially in textures with smooth gradients.
Linear – The color is linearly interpolated from the nearest values in the table. This is a smooth method, but it is slower than the Nearest.
Tetrahedral – Uses the tetrahedral method to convert colors with high accuracy.
Best – Chooses the best interpolation method for the requested context.
Log Convert
These parameters are available when the Mode is set to Log Convert.
Logconvert Operation – Specifies whether to convert from linear to log space or vice versa.
Display
Disp Input Colorspace – Specifies the color space of the base texture.
Disp Display Device – Specifies a viewing device from the devices listed in the OCIO configuration.
Disp View Transform – Specifies the desired view transformation.