RH Hue Bender
dctlsRH Hue Bender
π 6-Vector Per-Zone Hue Control
RH Hue Bender is a directional hue sculpting tool with two dimensions of selectivity: hue and luminance zone. For each of the six standard hue vectors (Red, Yellow, Green, Cyan, Blue, Magenta), it provides independent hue bend controls for shadows, midtones, and highlights.
This makes targeted split-hue grading effortless β for example, pushing blues slightly teal in the highlights while keeping shadow blues deep indigo, or nudging green foliage in the midtones toward emerald without shifting sunlit yellow leaves.
All hue shifts are computed in the Reuleaux (HRO) colour space, rotating only hue angle (Ο) while leaving chroma (Ο) and peak intensity (V) untouched.
π Table of Contents
- 1. Core Concept
- 2. Model & Zone Configuration
- 3. Per-Vector Hue Bend Controls
- 4. Visual Aids & Swatch Strip
- 5. Under the Hood β Reuleaux (HRO) + Zone Logic
- 6. Node Placement
- 7. Usage Tips
1. Core Concept π‘
For every pixel, the engine evaluates two sets of smooth weights simultaneously:
- A tonal zone weight (
w_shad,w_mid,w_high) based on Rec.709 luminance. - A hue vector weight across all six primary/secondary hues (Red, Yellow, Green, Cyan, Blue, Magenta).
First, each vector combines its Shadow, Mid, and High bend sliders according to the pixel's tonal zone. Next, all six per-vector shifts are blended across the hue circle using seamless CΒ²-filleted tent weights, and the resulting hue offset is applied directly to Ο in HRO space.
At default settings (all bend sliders at 0.0), every pixel receives zero hue rotation (global_hue_shift = 0.0), passing the image through untouched (disable Show Visualization when inspecting the clean image).
2. Model & Zone Configuration πΊοΈ
Hue Model π¨
Selects the Reuleaux evaluation mode:
- Fixed HRO (Default): Adds a deep-shadow / sub-zero safety guard (
w_in β€ 1e-7pass-through) and upgrades vector blending to CΒ²-filleted tent weights for smoother transitions across the 60Β° sextant boundaries without neighbor crosstalk or corner spikes. - Native HRO: Uses the original piecewise-linear tent isolation without the
w_infloor guard, preserved for backward compatibility with older grades.
Shadow Pivot π
Defines the center of the shadow-to-midtone transition.
- Default:
0.33 - Range:
0.0 β 1.0 - Uses Rec.709 luma for zone classification.
- The shadow weight transitions smoothly from
1.0belowShadow Pivot β Zone Softnessto0.0aboveShadow Pivot + Zone Softness.
Highlight Pivot π
Defines the center of the midtone-to-highlight transition.
- Default:
0.66 - Range:
0.0 β 1.0 - The highlight weight transitions smoothly from
0.0belowHighlight Pivot β Zone Softnessto1.0aboveHighlight Pivot + Zone Softness.
Zone Softness π
Controls the transition width across each pivot boundary.
- Default:
0.1 - Range:
0.01 β 0.5 - Lower values create tighter tonal separation; higher values produce gentler transitions across zones.
Midtone zone fills the space between Shadow Pivot and Highlight Pivot automatically via an overlap-safe CΒ² partition of unity (w_shad + w_mid + w_high = 1.0 everywhere, even if the two pivots are dragged close together or inverted).
3. Per-Vector Hue Bend Controls π¨
Six identical control groups cover the six hue vectors, each offering three sliders mapped to tonal zones.
| Slider | Zone | Meaning |
|---|---|---|
| [Color] Shadow Bend | Shadow | Hue rotation for this colour family in dark areas |
| [Color] Mid Bend | Midtones | Hue rotation for this colour family in midrange |
| [Color] High Bend | Highlight | Hue rotation for this colour family in bright areas |
Range for all sliders: -1.0 β +1.0 (-180Β° to +180Β° via shift Γ Ο)
Default for all sliders: 0.0 (unchanged)
Behaviour
0.0: unchanged (pass-through).- Negative values (
< 0.0): Rotate hue counter-clockwise toward the previous vector (e.g., pulling Yellow toward Red, or Green toward Yellow). - Positive values (
> 0.0): Rotate hue clockwise toward the next vector (e.g., pushing Red toward Yellow, or Cyan toward Blue). - Fine step increment (
0.001) allows subtle, surgical skin-tone and foliage tweaks without aggressive snapping.
Available Vectors
| Group | Hue Angle | Emoji Indicator |
|---|---|---|
| Red | 0Β° (0.000) | π΄ π₯ β£οΈ |
| Yellow | 60Β° (0.167) | π‘ π¨ π |
| Green | 120Β° (0.333) | π’ π© π |
| Cyan | 180Β° (0.500) | βͺ β¬ π€ |
| Blue | 240Β° (0.667) | π΅ π¦ π |
| Magenta | 300Β° (0.833) | π£ πͺ π |
The emoji icons indicate Shadow / Mid / High for each colour group.
4. Visual Aids & Swatch Strip ποΈ
Show Zone Masks π
A diagnostic checkbox that replaces the image output with a false-colour zone map:
| Channel | Colour | Zone |
|---|---|---|
| Red | Red | Highlights (w_high) |
| Green | Green | Midtones (w_mid) |
| Blue | Blue | Shadows (w_shad) |
Use this to verify your Shadow Pivot, Highlight Pivot, and Zone Softness before dialing in hue bends.
Show Visualization π¨
Enabled by default (1). Draws a live 6 Γ 3 swatch grid across the top 15% of the frame:
- 6 Columns: Red, Yellow, Green, Cyan, Blue, Magenta primaries/secondaries.
- 3 Brightness Rows: Shadow (
0.15intensity, top row), Midtone (0.50intensity, middle row), and Highlight (1.00intensity, bottom strip of the overlay). - Each swatch previews the direct hue shift produced by its corresponding zone Bend slider in real time. Uncheck Show Visualization once your bends are dialed in for final output.
5. Under the Hood β Reuleaux (HRO) + Zone Logic π¬
HRO Color Space
All hue shifts run in the Reuleaux (HRO) colour space: brightness stability and chroma balance are preserved.
CΒ²-Filleted 6-Vector Isolation (Fixed HRO)
In Fixed HRO mode, each vector's influence uses a CΒ²-filleted tent (filleted_c2 with fillet width f = 0.08):
- Stays linear across the central 84% of each 60Β° sextant (avoiding pinched peaks or center spikes).
- Rounds the transitions at sextant corners (
0Β°, 60Β°, 120Β°, ...) with CΒ² quartic/cubic fillets so derivatives glide smoothly without banding or crosstalk. - Strictly maintains a partition of unity (
Ξ£ w = 1.0).
Overlap-Safe CΒ² Luma Zoning
Tonal weights use Rec.709 luma (0.2126Β·R + 0.7152Β·G + 0.0722Β·B) fed into a CΒ² quintic smootherstep (6tβ΅ β 15tβ΄ + 10tΒ³), ordering the active pivots (p_lo = min, p_hi = max) so w_shad + w_mid + w_high = 1.0 holds identically even when pivots meet or cross.
6. Node Placement ποΈ
Expected pipeline:
- Scene-referred input
- DaVinci Wide Gamut / Intermediate (DWG/DI) or linear working space
Recommended placement:
- After primary exposure and white balance, before display output transforms (DRT / Print LUT).
- Pairs naturally with RH Chroma Gate (per-zone hue-selective saturation) and RH Hue Compressor (tighten drifted hues first, then bend hues per tonal zone).
Like all RH creative colour tools, this DCTL assumes scene-referred input; disable Show Visualization before final render/export.
7. Usage Tips π¬
- Dial in subtle values: Because a slider value of
1.0equals a full180Β°shift, most creative look work happens betweenΒ±0.01andΒ±0.10. - Use Zone Masks first: Check Show Zone Masks to make sure skin midtones sit cleanly in the Green mid zone and sky highlights sit in Red before bending hues.
- Cool shadows / warm highlights without matrix casts: Slightly push Shadow Blues or Shadow Cyans while nudging High Yellows or High Reds β greys stay neutral automatically because
Ο = 0on neutrals. - Remember to uncheck Show Visualization: It is active by default so you can preview per-vector shifts across the top strip while grading; turn it off before rendering.