/dctl

A continuously updated collection of DCTLs (DaVinci Color Transform Language) designed to enhance and educate on workflows using ARRI LogC3, Gen5 and Cineon in DaVinci Resolve. This collection offers a photographic and creative approach to color correction and grading from log digital and film negatives.

Primary LanguageC

DCTL

License

Table of Contents

Introduction

This is a growing collection of DCTLs (DaVinci Color Transform Language) created to understand workflows with ARRI LogC3, Gen5 and Cineon in DaVinci Resolve. These DCTLs take a photographic approach to color correction and grading from log and film negatives, focusing on look adjustments and traditional print techniques rather than rigid technical processes. The project is continually updated to incorporate new insights and techniques.

Installation and utils

To use these tools into your DaVinci Resolve setup, begin by cloning the git repository or download the release package, which contains the DCTLs and headers.

Run python(.exe) run.py install in your terminal to copy the *.dctl and *.h files to the DaVinci Resolve LUT DCTL folder, ensuring they're accessible within your Resolve environment. The files can also be manually copied to /Library/Application Support/Blackmagic Design/DaVinci Resolve/LUT/DCTL on Mac and C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\LUT\DCTLon Windows.

For added convenience, the run.py script is provided, enabling easy access to various resources:

To open the DCTL readme documentation, use:

./run.py readme

For exploring DCTL examples, execute:

./run.py examples

To access the DaVinci Resolve log file and initiate a trace, input:

./run.py install

**To install .dctl and .h into DCTL directory:

./run.py log

To make a snapshot of hte DaVinvi Resolve DCTL folder, input:

./run.py snapshot

DCTLs

Cineon color processing

MS-Cineon-Exposure.dctl

MS-Cineon-Exposure figure

Cineon exposure from photographic stops, incorporating a zone based false color to aid in achieving correct exposure levels.

MS-Cineon-Invert.dctl

Cineon inversion

MS-Cineon-Invert.dctl figure

Cineon negative inversion with precise control over the dmin ratio based inversion process using adjustable parameters such as density, bit depth, offset, and density scale. You can specify dmin base values manually as floating-point numbers (obtained from tools like Pixel Analyzer in Nuke or similar software) or sample them using a rectangular sampler from the border or other dmin base areas.

ACES scene-linear and calibration curves

To account for the variations of film stock and the use of ECN-2 chemicals, developer time and temperature, camera and lightbox settings - calibration curves are applied to match ideal cineon code values. In this example, photoscanning was used along with the rawtoaces tool to convert the Camera RAW CR2 file to scene-linear ACES, starting with as much information as possible. However, because the science is not exact, manual tweaking using density scaling and calibration curves is needed depending on the setup.

MS-Cineon-Invert.dctl figure

Figure: Color calibration curves and macbeth charts at different exposures for adjustments.

MS-Cineon-Exposure.dctl

Cineon exposure from photographic stops, incorporating a zone based false color to aid in achieving correct exposure levels.

MS-Cineon-Transform.dctl

Cineon conversion to and from linear.

MS-Cineon-Transform.dctl

Cineon conversion to and from linear.

Gen5 color processing

MS-Gen5-Transform.dctl

Gen5 conversion to and from linear.

LogC3 color processing

MS-LogC3-Print.dctl

MS-LogC3-Print.dctl figure

Made for print emulation, this DCTL applies DaVinci Resolve's built-in film looks to ARRI LogC3 and Cineon footage with adjustable controls for luminosity and color blending.

MS-LogC3-Exposure.dctl

MS-LogC3-Exposure.dctl figure

LogC3 exposure from photographic stops, incorporating a zone based false color to aid in achieving correct exposure levels.

MS-LogC3-Temperature.dctl

LogC3 CAT02 color temperature adjustments.

MS-LogC3-Transform.dctl

LogC3 conversion to and from linear.

Utility DCTLs

MS-Grade.dctl

Grade adjustments, this DCTL is experimental code for lift, gamma, gain and log controls.

MS-Stripify.dctl

Matrix adjustments, this DCTL simplifies the color palette by pushing colors into a warm and cool strip.

MS-Saturation.dctl

HSV-based adjustments, this DCTL provides a tool for fine-tuning saturation using saturation in HSV.

DCTLs from other projects

Printer Lights.dctl

TetraInterp.dctl

TetraInterpHSV.dctl

Reference charts

  • ACES Macbeth 50D 5203 EXR from rawtoaces

logctool_LogC3_DCI_2K figure

ARRI LogC3 10-bit DPX

logctool_LogC3_DCI_2K figure

Cineon 10-bit DPX

logctool_LogC3_to_Cineon_DCI_2K figure

Logctool project:

References

ARRI Companion to DI

Blend modes:

Cineon conversion in RV:

Grayscale legacy luma:

Web Resources