Giter Site home page Giter Site logo

mikaelsundell / dctl Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 26.94 MB

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

Home Page: https://github.com/mikaelsundell/dctl

CMake 1.91% C 70.83% Shell 3.42% Python 23.84%
color-correction colors davinci-resolve grading cineon dctl

dctl's Introduction

DCTL

License

Table of Contents

Introduction

A continuously updated collection of DCTLs (DaVinci Color Transform Language) designed to enhance and educate on workflows using ARRI LogC3 and Cineon in DaVinci Resolve. These DCTLs offers a photographic and creative approach to color correction and grading from log digital and film negatives, emphasizing the artistic tweaking of the many variables involved rather than a strictly scientific method.

Installation and utils

To use these tools into your DaVinci Resolve setup, begin by cloning the git repository, 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

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

DCTL script

rawtoaces project

MS-Cineon-Transform.dctl

Cineon 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 contrast and color strength.

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-Transform.dctl

LogC3 conversion to and from linear.

Utility DCTLs

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

Film Grain.dctl

Printer Lights.dctl

TetraInterp.dctl

TetraInterpHSV.dctl

Reference charts

  • ACES Macbeth 50D 5203 EXR 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

dctl's People

Contributors

mikaelsundell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alejandrojapkin

dctl's Issues

the dctls dont work in resolve on a windows pc

downloaded the dctls for the cineon inverse dctl to experiment with film scans, but the dctl doesn't work, i have the studio version of resolve 18.6 at the moment on a quite capable windows pc.

Error in MS-Utils.h

Line 137:

return max(rgb, 0.0f);;

AFAIK you can't compare a float3 with a float.

use sth. like this :

DEVICE float3 adjust_display(float3 rgb)
{
rgb.x = _fmaxf(rgb.x, 0.0f);
rgb.y = _fmaxf(rgb.y, 0.0f);
rgb.z = _fmaxf(rgb.z, 0.0f);

return rgb;;

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.