Zone Settings
@Serializable
How a clip's figure is split into zones — skin, shirt, trousers — each shaded with one ramp; stored per clip in profile.json.
Every masked pixel of every frame joins the zone whose samples it is nearest to in OKLab, with the lightness part of the distance scaled by lightnessWeight: below 1, the lit and the shaded side of one material stay in one zone, while a change of colour still moves a pixel to another. fixes are the artist's own word where that gets it wrong, on key frames.
Constructors
Link copied to clipboard
constructor(zones: List<Zone> = emptyList(), lightnessWeight: Double = 0.5, fixes: List<ZoneStroke> = emptyList())