FUSION · FULL ARTICLE
OCIOFileTransform
OCIOFileTransform applies a transform from an external file. Unlike choosing two spaces in OCIOColorSpace, the LUT/CDL itself is the main contract: which RGB state it accepts and which state it returns.
Overview
OCIOFileTransform applies a transform from an external file. Unlike choosing two spaces in OCIOColorSpace, the LUT/CDL itself is the main contract: which RGB state it accepts and which state it returns.
LUT File selects the file; CCC ID selects a correction within a collection when the format has multiple records. A single .cc correction and a .ccc collection are different cases. The filename is not the shot identifier inside the collection.
Interpolation affects sampling of tabulated LUTs. The capture offers Nearest, Linear, Tetra and Best. Changing interpolation does not create a new look for a mathematical CDL; applicability depends on the reader and LUT dimensionality. Inspect the result and your build’s messages.
Reverse operates only where an inverse is available. Clipping, quantization or mapping different colors to the same value cannot be undone into the original. Account for the screen view separately so that the LUT is not repeated during viewing.
When to use it
- Apply an external look or technical LUT to an agreed input.
- Select a shot’s CDL from a CCC collection.
- Test 3D LUT interpolation and inverse limits.
Article screenshots
Inputs & outputs
OCIOFileTransform · image and application limit
Orange Input carries the image; blue Effect Mask limits application. The file/configuration is selected in the Inspector, not attached as a video input.
OCIOFileTransform applies a transform from an external file. Unlike choosing two spaces in OCIOColorSpace, the LUT/CDL itself is the main contract: which RGB state it accepts and which state it returns.
Inputs
- Input
Image
Receives: RGB with a known color state and its alpha.
Inside the node: Provides the source for the selected transform.
Typical sources: MediaIn · Loader · AlphaDivide
Distinguish the camera source format from the state after previous nodes.
- Effect Mask
Application area
Receives: A mask from Rectangle, Polygon or Bitmap.
Inside the node: Limits application of the evaluated processing.
Typical sources: Rectangle · Polygon · Bitmap
The mask regulates application after processing; it does not automatically become output alpha. For whole-image technical conversion, do not mix encodings.
Outputs and destination
Output
One 2D image after the selected transform; RGB and alpha are reviewed separately.
Next step: MediaOut · Saver · Merge
The next node must expect the resulting color state.
- Output
- One 2D image after the selected transform; RGB and alpha are reviewed separately.
Processing order
- Establish the actual RGB state before Input and the intended result.
- Choose the file/configuration and documented Inspector controls.
- Start with Forward and a reference frame without an external mask.
- Compare a neutral ramp, color patches, highlights and shadows.
Reference color pass
MediaIn → OCIOFileTransform → MediaOut
The file or configuration is read through the Inspector; the diagram shows the image path.
The file is a setting; Input is the image; Effect Mask is a limit; Output carries transformed RGB and alpha to verify.
Parameters
OCIOFileTransform · Inspector reference
File → selected record → direction → interpolation. Method support and reversibility are checked against the actual file.
- Foundation
- Identify the input data and transform purpose.
- Control
- Choose the file, mode and controls deliberately.
- Production
- Review range, alpha and downstream processing.
- Review
- Record the revision and limits of the verified result.
File / CCC · File and record
Path and CCC ID answer different questions.
- LUT File
File / CCC > LUT FileSelects an external LUT/CDL file for processing RGB. Before loading, identify intended input, output, revision and working range. Format support depends on the installed build; a .cube name does not establish suitability for this plate.
Check / distinguish: Test the file with a ramp in its declared input space.
- Browse
File / CCC > BrowseOpens the file selection dialog. Browse selects a local path. A successful selection does not establish that dependent LUTs exist or that the file matches the input color state.
Check / distinguish: After selection, inspect the path, node messages and image; repeat after moving the project.
- CCC ID
File / CCC > CCC IDSelects a particular CDL record within a collection. CCC ID must match a record ID. Case matters; an empty field in OCIO selects the first record, not an automatic shot match. For an ordinary LUT it does not select a LUT layer.
Check / distinguish: Use the ID from the collection contents or handoff document.
- Single correction versus collection
Controls > CCC IDA single .cc correction is not a set of shots. For a .ccc collection, select a specific ID and verify its shot/reference match.
Check / distinguish: Check the file structure before looking for a nonexistent ID.
- File identity
Controls > LUT FileThe same path name can hide a changed file. Preserve a revision and checksum for repeatable handoff.
Check / distinguish: Reopen the project using the frozen LUT copy.
Direction · Direction
Test reversibility over a bounded range.
- Direction
Direction > DirectionDetermines whether to evaluate the selected transform forward or in reverse. Forward and Reverse change evaluation direction. Reverse requires a defined inverse and cannot recover data lost through clipping, quantization or irreversible grading.
Check / distinguish: First rule out duplicate processing, then test forward and reverse on a bounded float ramp.
- Direction: Forward
Direction > Direction: ForwardEvaluates the selected operation in its declared forward direction. The input must match the transform’s intended domain. Forward does not automatically find the correct source space or cancel an earlier look.
Check / distinguish: Label the color state before and after the node and keep the direction fixed for the shot.
- Direction: Reverse
Direction > Direction: ReverseAttempts the inverse transform using the same original settings. Test the pair with the same file or configuration revision. An image that also underwent tone mapping, clipping or compression need not match the original after Reverse.
Check / distinguish: Compare numeric RGB and alpha before the first and after the second node; document a mismatch instead of hiding it with another grade.
- Clipped data
Controls > DirectionIf two original colors became one value, an inverse cannot identify which was present. Check for clipping before promising recovery.
Check / distinguish: Use a known float source without intermediate compression for testing.
Interpolation · LUT sampling
Check method applicability to this format.
- Interpolation
Interpolation > InterpolationSelects how intermediate values are obtained from a tabulated LUT. Nearest, Linear, Tetra and Best are the captured choices. Actual support depends on the reader and LUT type; one universal quality ranking does not cover every file.
Check / distinguish: Change only this control on an unchanged ramp and compare the result.
- Interpolation: Nearest
Interpolation > Interpolation: NearestUses the nearest tabulated sample. With a sparse LUT this can reveal steps and color jumps. It is useful for inspecting the table; first establish that the mode applies to the file.
Check / distinguish: Compare a smooth ramp against Linear at the same Viewer scale.
- Interpolation: Linear
Interpolation > Interpolation: LinearInterpolates intermediate values linearly. Interpolation geometry differs between 1D and 3D tables. This provides a reference for comparison; it does not correct an inappropriate input range.
Check / distinguish: Start with Linear and inspect neutrals and saturated boundaries.
- Interpolation: Tetra
Interpolation > Interpolation: TetraSelects tetrahedral interpolation for a supported 3D LUT. The cube is subdivided into tetrahedra to calculate intermediate colors. This is not an added quality level for a CDL or ordinary 1D curve; evaluate the particular LUT.
Check / distinguish: Compare Tetra and Linear on one 3D LUT, including skin and color ramps.
- Interpolation: Best
Interpolation > Interpolation: BestRequests the implementation’s preferred quality method. Do not treat Best as a separate universal algorithm or a guarantee of a different result from Tetra. Readers and versions may select or constrain it differently.
Check / distinguish: For repeatability, record the file, application revision and actually tested method.
- 1D / 3D / CDL
Controls > InterpolationA one-dimensional table, a volumetric table and a formula-based CDL serve different purposes. Interpolation does not add missing gamut mapping or automatically improve every file.
Check / distinguish: Record the file type before comparing methods.
Review · Review and handoff
Preserve the external file and transform purpose.
- Keyframe diamonds
Review > Keyframe diamondsDiamonds set keys only for controls that support animation. A diamond beside a menu does not guarantee smooth interpolation between files or spaces. Technical color normally uses one fixed revision per shot. A smooth creative transition requires compatible image states.
Check / distinguish: Check the beginning, middle and end for unintended keys or jumps.
- Declared input and output
Pipeline > file contractA creative look and a technical conversion may expect different spaces. Record the LUT’s purpose separately from its extension and filename.
Check / distinguish: Label the color state before and after the file.
- Effect Mask and local look
Flow > Effect MaskLocal application is appropriate when the look’s input and output remain in an agreed space. For a conversion between encodings, masking creates an inconsistent frame.
Check / distinguish: Before attaching a mask, establish whether the LUT is a look or a technical conversion.
- Alpha and premultiplication
Pipeline > AlphaThe LUT is intended for color data. Check alpha separately and, where required, process straight RGB between AlphaDivide and AlphaMultiply.
Check / distinguish: Inspect a translucent edge over contrasting plates.
- Node and viewing LUT
Pipeline > viewingA file transform in Flow enters the downstream image; a separate View LUT affects the screen. Do not account for the same file twice.
Check / distinguish: Compare the data-processing and viewing paths.
Before adjusting the node
- The file and its input/output are known.
- CCC ID matches the selected shot.
- The interpolation method applies to this format.
- Reverse is checked without claiming clipping recovery.
- The file, alpha and viewing path are reviewed.
Reference documentation
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: OCIOFileTransform
Physical PDF pages 2249–2251; color processing and the node’s existing inputs.
- OpenColorIO documentation · FileTransform / CDLTransform
Format and configuration clarification; the OCIO version embedded in Resolve is not established here.
Examples
File from your own CDL export
Test OCIOFileTransform with a known grade instead of an unknown show LUT.
Starting conditions
DaVinci Resolve 21 · OCIOFileTransform 21 · editorial reference 2026-10-18 · Fusion in DaVinci Resolve 21; verify availability in the workstation build. · Target OS is not fixed; Resolve verification is pending.
1920 × 1080 · 24 fps · 120 frames · A teaching float pipeline with an explicit color state. Align MediaIn, project and Viewer settings before comparison.
- 1920×1080, 24 fps, frames 0–119; identical viewing conditions for A/B.
- External plates, LUT/CDL files and OCIO configurations are not attached; each practice specifies requirements and preparation.
- Names linear/sRGB/default refer only to the captured set; with another configuration, choose a documented equivalent serving the same purpose.
Source material
- SRC
An opaque float chart in a documented linear space, with neutral and colored patches in the 0.05–0.6 range; frames 0–119.
Prepare your own chart or EXR in this state; do not use an already transformed Viewer screenshot. No file is attached.
- cdl
One CDL exported from GRADE in this exercise; it must contain the shown grade.
Create the file with Export CDL File and select it in LUT File using Browse. No prebuilt file is attached.
Nodes and connections
SRC— Source · MediaInGRADE— Manual CDL · OCIOCDLTransformFX— File reverse · OCIOFileTransformOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Source (SRC)Output | Manual CDL (GRADE)Input | image |
Manual CDL (GRADE)Output | File reverse (FX)Input | image |
File reverse (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Manual CDL (GRADE) / Controls / Operation
"Controls"This node’s source of values.
- Manual CDL (GRADE) / Controls / Direction
"Forward"Explicit CDL direction.
- Manual CDL (GRADE) / Controls / Slope
[1.1,1,0.9]A moderate per-channel multiplier without zeros.
- Manual CDL (GRADE) / Controls / Offset
[0,0,0]Set the RGB offset separately.
- Manual CDL (GRADE) / Controls / Power
[1,1,1]Fix the per-channel power.
- Manual CDL (GRADE) / Controls / Saturation
0.9Retain nonzero chromatic information.
- File reverse (FX) / Controls / Direction
"Reverse"Invert the exact exported CDL.
- File reverse (FX) / Controls / Interpolation
"Linear"A reference reader setting; the CDL is not a sampled 3D LUT.
Reproduce the example
- Feed an opaque float chart into GRADE and set the shown manual CDL.
A known grade provides a testable relationship between controls and file.
Check: GRADE uses Controls/Forward and does not zero slope or saturation.
- Export GRADE with Export CDL File to a new file beside the project.
The exercise creates its dependency on your installation and does not assume a nonexistent attached LUT.
Check: The file is saved, with its name and current grade values recorded.
- In FX use Browse to select the generated LUT File; leave CCC ID empty for the single CDL.
The reader must load that exact exported set.
Check: The file opens without error and refers to the same frame/grade.
- Select Reverse and Linear, then compare SRC with OUT.
The inverse file should compensate the tested grade within valid precision.
Check: RGB difference is measured; interpolation switching is not presented as a new quality level for formula-based CDL.
- Close and reopen a composition copy with the same file; check alpha and the path.
A pleasing first view does not verify dependency handoff.
Check: The dependency resolves, alpha matches the source and the result repeats.
Expected result
- Result (OUT) · frame 0
A measured round trip of your own CDL, without claiming removal of an arbitrary baked look.
Alpha: Opaque alpha is retained.
When the result differs
- The result differs sharply from the reference.
Cause: Incorrect input state, another file/configuration or duplicate processing.
Correction: Return to the known source and check one transform at a time.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: OCIOCDLTransform
Physical PDF pages 2243–2246: documented purpose, controls and image/effect-mask connections. Supplied current Inspector PNGs establish exact menu labels and Direction availability; semantic graph IDs are not native serialization.
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: OCIOFileTransform
Physical PDF pages 2249–2251: documented purpose, controls and image/effect-mask connections. Supplied current Inspector PNGs establish exact menu labels and Direction availability; semantic graph IDs are not native serialization.
Selecting a shot from a CCC collection
Separate the filename from the correction identifier and avoid accidentally using the first record.
Starting conditions
DaVinci Resolve 21 · OCIOFileTransform 21 · editorial reference 2026-10-18 · Fusion in DaVinci Resolve 21; verify availability in the workstation build. · Target OS is not fixed; Resolve verification is pending.
1920 × 1080 · 24 fps · 120 frames · A teaching float pipeline with an explicit color state. Align MediaIn, project and Viewer settings before comparison.
- 1920×1080, 24 fps, frames 0–119; identical viewing conditions for A/B.
- External plates, LUT/CDL files and OCIO configurations are not attached; each practice specifies requirements and preparation.
- Names linear/sRGB/default refer only to the captured set; with another configuration, choose a documented equivalent serving the same purpose.
Source material
- SRC
An opaque float chart in a documented linear space, with neutral and colored patches in the 0.05–0.6 range; frames 0–119.
Prepare your own chart or EXR in this state; do not use an already transformed Viewer screenshot. No file is attached.
- collection
A teaching .ccc collection with known shot_010 and shot_020 records and a reference for each; both CDLs are authored for the plate’s same linear state.
Use a prepared pipeline collection. If the IDs differ, replace the examples with exact real IDs and record them; no collection is attached.
Nodes and connections
SRC— Source · MediaInFX— Transform · OCIOFileTransformOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Source (SRC)Output | Transform (FX)Input | image |
Transform (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Transform (FX) / Controls / CCC ID
"shot_010"An explicit example ID that must actually exist in the teaching collection.
- Transform (FX) / Controls / Direction
"Forward"Apply the selected record to the source plate.
- Transform (FX) / Controls / Interpolation
"Linear"This setting neither selects the record nor strengthens the CDL.
Reproduce the example
- Prepare a collection with two known IDs and references, then select it through LUT File / Browse.
The exercise requires real records; shot_010/shot_020 are explicit example names.
Check: The collection loads and each ID’s reference is known.
- Set CCC ID to shot_010 with exact case, direction Forward and the shown interpolation.
The path selects the collection; the ID field selects one correction within it.
Check: The result matches the selected ID’s reference, not the filename.
- Temporarily select the real second ID shot_020, compare its reference, then restore shot_010.
This verifies that record selection works and is not ignored.
Check: The intended grade changes; both reference comparisons are recorded.
- In a separate copy, leave the ID empty and identify which first record the reader selects.
An empty ID must not be mistaken for automatic shot matching.
Check: The first-record selection is checked; the production version retains an explicit ID.
- Record file, revision, ID and intended input, then inspect alpha.
These details are needed for a reproducible grade handoff.
Check: OUT has the expected grade and source-plate alpha is retained.
Expected result
- Result (OUT) · frame 0
Color matches the selected operation on a known input; comparison uses one display transform.
Alpha: Opaque alpha remains 1; a mask or color operation is not mistaken for a new matte.
When the result differs
- The result differs sharply from the reference.
Cause: Incorrect input state, another file/configuration or duplicate processing.
Correction: Return to the known source and check one transform at a time.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: OCIOFileTransform
Physical PDF pages 2249–2251: documented purpose, controls and image/effect-mask connections. Supplied current Inspector PNGs establish exact menu labels and Direction availability; semantic graph IDs are not native serialization.
Comparing one 3D LUT’s sampling
Compare Nearest, Linear and Tetra without changing the LUT or input color state.
Starting conditions
DaVinci Resolve 21 · OCIOFileTransform 21 · editorial reference 2026-10-18 · Fusion in DaVinci Resolve 21; verify availability in the workstation build. · Target OS is not fixed; Resolve verification is pending.
1920 × 1080 · 24 fps · 120 frames · A teaching float pipeline with an explicit color state. Align MediaIn, project and Viewer settings before comparison.
- 1920×1080, 24 fps, frames 0–119; identical viewing conditions for A/B.
- External plates, LUT/CDL files and OCIO configurations are not attached; each practice specifies requirements and preparation.
- Names linear/sRGB/default refer only to the captured set; with another configuration, choose a documented equivalent serving the same purpose.
Source material
- SRC
An opaque float chart in a documented linear space, with neutral and colored patches in the 0.05–0.6 range; frames 0–119.
Prepare your own chart or EXR in this state; do not use an already transformed Viewer screenshot. No file is attached.
- lut3d
One actual 3D LUT with documented input, output and range; the ramp must match its input.
Use a reviewed project 3D LUT. Do not substitute a formula-based CDL or 1D LUT for this exercise; no file is attached.
Nodes and connections
SRC— Source · MediaInFX— Transform · OCIOFileTransformOUT— Result · MediaOut
| Source | Destination | Data |
|---|---|---|
Source (SRC)Output | Transform (FX)Input | image |
Transform (FX)Output | Result (OUT)Input | image |
Graph output: Result (OUT)
Parameter values
- Transform (FX) / Controls / Direction
"Forward"One fixed LUT input contract.
- Transform (FX) / Controls / Interpolation
"Tetra"The final comparison setting on a supported 3D LUT.
Reproduce the example
- Prepare ramps and patches in the chosen 3D LUT’s declared input; if it is not linear, prepare the source before Input.
An incorrect input creates an error before interpolation selection matters.
Check: LUT dimensionality, input, output and valid range are known.
- Select the unchanged file and Forward; do not use CCC ID to select a layer in this LUT.
The comparison concerns only one table’s sampling.
Check: The file loads and neither LUT revision nor source changes between comparisons.
- Temporarily enable Nearest and inspect smooth transitions at an identical scale.
Coarse sampling can expose steps if this reader supports the mode.
Check: You record actual changes or their absence rather than assume an effect.
- Compare Linear on the same frame, then switch to Tetra.
Only one control changes, allowing differences to be attributed to the method.
Check: Neutral and colored ramps are compared, with no unsupported-method message.
- Separately compare Best, then restore the reviewed Tetra setting; record the application revision and observations.
Best may select a method already tested; its name does not establish improved quality.
Check: The final mode is actually tested; alpha and the viewing path are consistent.
Expected result
- Result (OUT) · frame 0
Method differences on one supported 3D LUT are documented; neutrality and color are compared with its reference.
Alpha: Alpha is checked separately and is not treated as part of the RGB 3D table.
When the result differs
- The result differs sharply from the reference.
Cause: Incorrect input state, another file/configuration or duplicate processing.
Correction: Return to the known source and check one transform at a time.
References
- Blackmagic Design — The Visual Effects Guide to DaVinci Resolve 20
Printed pp. 9–12, 145–150; PDF pp. 29–32, 165–170 (zero-based).
- Blackmagic Design — DaVinci Resolve 21 Reference Manual: OCIOFileTransform
Physical PDF pages 2249–2251: documented purpose, controls and image/effect-mask connections. Supplied current Inspector PNGs establish exact menu labels and Direction availability; semantic graph IDs are not native serialization.
Other outlines from the article
File from your own CDL export
Test OCIOFileTransform with a known grade instead of an unknown show LUT.
- MediaIn
- OCIOCDLTransform
- OCIOFileTransform
- MediaOut
Selecting a shot from a CCC collection
Separate the filename from the correction identifier and avoid accidentally using the first record.
- MediaIn
- OCIOFileTransform
- MediaOut
Comparing one 3D LUT’s sampling
Compare Nearest, Linear and Tetra without changing the LUT or input color state.
- MediaIn
- OCIOFileTransform
- MediaOut
Mistakes
- Treat CCC ID as a filename or an ordinary LUT-layer selector.
- Leave the ID empty and assume automatic shot matching.
- Treat Tetra as an enhancement of a formula-based CDL.
- Apply a LUT in an unknown color state or apply it twice.
Tips
- Use your own OCIOCDLTransform export for a reference CDL.
- For interpolation, compare one unchanged 3D LUT and source.
- When troubleshooting, check path, ID and input space before the sampling method.
Workflow order
- Establish the actual RGB state before Input and the intended result.
- Choose the file/configuration and documented Inspector controls.
- Start with Forward and a reference frame without an external mask.
- Compare a neutral ramp, color patches, highlights and shadows.
- Review alpha, translucent edges and the absence of a repeated display transform.
- Record the transform revision and repeat the check at the start and end of the shot.
