This page provides information on the OCIO Map.
VRayOCIO is a texture that allows users to apply OpenColorIO (OCIO) color transformations to textures in 3ds Max to manage their look.
Note that the OCIO corrections are slow. It is advised to use VRayOCIO sparingly and only when it is not possible or practical to apply the necessary transformations to the texture in a pre-process step before use as a texture.
In the example shown an aces_0.1.1.ocio file is used to define the output colors of the texture.
UI Path: ||Material Editor window|| > Material/Map Browser > Maps > V-Ray > VRayOCIO
basemap – The base texture that will be corrected.
ocio config – Manually specifies an OCIO configuration. If not specified, the OCIO environment variable is used.
input output selection – Determines how the input and output color spaces are specified:
by color space – The user specifies the input and output color spaces directly.
by role – 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 will be performed:
ColorSpace – The texture performs color space conversions.
CDL – The texture performs an ASC CDL transformation. CDL stands for "Color Decision List" which is a color grading information exchange format developed by the ASC (American Society of Cinematographers).
FileTransform – The texture performs a color transformation based on another file (i.e. .3dl, .lut, .cube etc).
LogConvert – 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 config must define looks for this mode to work.
Reload – Reloads the OCIO configuration.
Depending on the chosen mode, different parameters are available.
These parameters are available when the mode is set to ColorSpace.
in – Specifies the input color space (the color space that the input texture is in.
out – Specifies the output color space (for rendering, this would typically be a linear color space).
from basemap file name – When this option is enabled, the texture will try to determine the correct in/out color spaces based on the file name from the base texture (assuming it is a Bitmap or V-Ray Bitmap Texture | VRayHDRI texture).
These parameters are available when the mode is set to CDLTransform.
slope rgb – Multiplies for the red/green/blue color components.
offset rgb – Offsets for the red/green/blue color components.
power rgb – Gamma values for the red/green/blue color components.
saturation – The saturation value; 0.0 makes the image grayscale.
use file – When enabled, the CDL parameters are read from a .cc or a .ccc file instead of specified directly.
file – Specifies a .cc or .ccc file to read.
cccid – Color correction id as specified in the color correction file.
direction – Specifies whether the forward or the inverse CDL transformation will be applied.
save cc – Allows the CDL parameters to be saved in a .cc file.
get values from file – When use file is enabled, this button copies the parameters from the file into the texture parameters so that they can be adjusted if needed.
These parameters are available when the mode is set to FileTransform.
file – Specifies a color transformation file (.3dl, .cube, .lut etc).
cccid – Color correction id if present in the file.
direction – Specifies whether forward or inverse color transformation should be applied. Not all file formats support inverse transformations.
interpolation – If the file contains tabulated LUT data (i.e. .cube files), specifies how this data is interpolated.
nearest – Nearest neighbor in all dimensions. This method is fast, but may introduce artifacts, especially in textures with smooth gradients.
linear – Linear interpolation in all dimensions . This is a smooth method, but is slower than nearest.
tetrahedral – Tetrahedral interpolation in all directions.
best – Chooses the best interpolation type for the requested context. Currently the same as linear.
These parameters are available when the mode is set to LogConvert.
operation – Specifies whether to convert from linear to log space or vice versa.
These parameters are available when the mode is set to Display.
in – Specifies the color space of the base texture
device – Specifies a viewing device from the devices listed in the OCIO configuration.
view transform – Specifies the desired view transformation.
These parameters are available when the mode is set to Look.
in – The color space of the base texture.
look – The name of the look if the OCIO configuration defines looks.
out – The output color space.
direction – Specifies whether to apply forward or inverse transformation.
ignore errors – When enabled, attempts to perform color corrections even if there are errors.
See the OCIO library documentation for more information.
The official OpenColorIO web page: http://opencolorio.org/