Skip to content

Latest commit

 

History

History
260 lines (163 loc) · 9.76 KB

README.md

File metadata and controls

260 lines (163 loc) · 9.76 KB

Photographic DCTLs

License

Introduction

This set of DCTL scripts is all about experimenting with the math behind color science, including ARRI LogC, ACES AP0, Cineon, and more. It's a creative, photography-inspired take on color correction and grading, focusing on looks and print techniques instead of strict technical workflows. The project is still evolving, so new ideas and techniques will be added over time. Some of the concepts are a bit experimental and might overlap with Resolve's built-in tools, and the file names or structure could change as things develop.

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.

The run.py script

To open the DCTL readme documentation:

./run.py readme

For exploring DCTL examples:

./run.py examples

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

./run.py install

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

./run.py log

To make a snapshot of hte DaVinvi Resolve DCTL folder:

./run.py snapshot

Quick install for Windows users

./install.bat

DCTL compatibility

All DCTLs are tested and confirmed to work with Metal, CUDA, and OpenCL on both Mac and Windows platforms.

Verified DCTLs

Cineon color processing

Cineon exposure

PD-Cineon-Exposure figure

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

Cineon inversion

PD-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.

PD-Cineon-Invert.dctl figure

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

Cineon exposure

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

Cineon transform

Cineon conversion to and from linear.

ARRI LogC color processing

LogC exposure

PD-LogC3-Exposure.dctl figure

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

LogC print

PD-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.

Utilities

Matrix

Matrix adjustments, a utility for copying matrix values.

Stripify

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

Saturation

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

Tonecurve

Tone curve adjustments for contrast, shoulder and toe controls.

Transform

Color space transformation to and from CIE XYZ linear.

Experimental DCTLs

LogC3 temperature

LogC3 CAT02 color temperature adjustments.

Grade

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

Reference charts

Reference charts for testing and verifying DCTLs. Additional formats are available in the Logctool project README:

ACES Macbeth 50D 5203 EXR from rawtoaces

logctool_LogC3_DCI_2K figure

ARRI LogC3 stepchart - EXR 2K LogC3 encoding

llogctool_LogC3_stepchart_DCI_2K figure

ARRI LogC3 colorchecker - EXR 2K LogC3 encoding

logctool_LogC3_colorchecker_DCI_2K figure

References

Github projects

Wikipedia

Format specifications

DCTLs, apps and resources

Utilities

Web Resources