DaVinci Resolve Studio · DCTL Suite
An opinionated suite of open source color grading DCTLs for primary balancing and some aspects of look development. Studio version of DaVinci Resolve required; tested in Resolve Studio 20.x and 21 beta 2 (may work in other versions).
Primera consolidates the grading approaches I reach for most often in one place, under one name, and with only the controls I actually use. Most of the underlying math comes from publicly-available, tried-and-tested imaging science and from extensive use of open-source DCTLs provided by the generous members of the "color-concerned community."
My personal aesthetic lodestar remains a film-like look, in the broad sense, however not by emulating any specific stock or process (with one sort-of exception; see below). In any case the tools should be flexible enough to achieve a broad range of looks.
The DCTLs are meant to be used in the context of a fully color-managed workflow. They've been used and tested most against OpenDRT, but play well with Resolve's CST, 2499 DRT, ACES 2.0, and well-constructed 3D LUTs.
Primary Grading
Primera.dctl
The foundation. Provides primary grading controls for shot-to-shot balancing across the range of source and working space encodings I encounter most often: ARRI LogC3 and LogC4, Sony S-Log3, REDLog3G10, ACEScct, DaVinci Intermediate, Kodak Cineon, Fuji F-Log2/C, and Panasonic V-Log.
tanh
highlight compression; works
with Highlights to control the shoulder's curve shapeHue & Density
PrimeraHue.dctl
Per-channel hue and density control via tetrahedral interpolation, based on hotgluebanjo's DCTL implementation of an approach described by Steve Yedlin ASC in his DisplayPrep demo and follow-up discussion from 2018.
tanh shoulder + exponential toe compression
applied last, or a hard clip of the rotated corner values
to [0,1] before interpolation; both can be applied or just
oneNote that tetrahedral interpolation is only defined on the unit cube, so any pixel with a channel outside [0,1] passes straight through. Feed this one a log signal, not scene-linear.
Split Toning
PrimeraSplit.dctl
Subtractive color split-toning for imbuing shadows and highlights with (usually) contrasting color casts. Lately conceptualized less as an effect and more as a fundamental look development tool, defining the chroma vectors of the characteristic curve.
Skintone Sculpting
PrimeraSkin.dctl
A dedicated skintone sculpting tool operating in HSV, meant for log-based sources/groups/timelines. Everything outside the mask passes through untouched.
Detection works in rg-chromaticity rather
than a plain hue/saturation slice: normalizing by
r+g+b makes the ratios invariant to overall
brightness, so one gate catches fair and dark skin equally
well instead of tracking lightness. A hue gate centered on
the nominal skin angle (~28°) rides on top of that to keep
Range meaningful — the "fuzzy pie slice,"
now with a chromaticity gate in front of it. Gamut
containment via the same tanh / exponential
soft squeeze used throughout, here scaled by the mask so
pooled-in background pixels don't get a squeeze halo.
There's not much particularly new or original in the Primera tools. They're a curated, opinionated collection of my favorite approaches to primary grading. 90%+ of Primera's existence is owed to the work, and generosity, of: