DriftCapture · interface

DelightOptions

Explained in DriftCapture.

interface DelightOptions
import type { DelightOptions } from '@driftengine/capture';

Properties

NameTypeDescription
minimumViewsreadonlyoptionalnumberBelow this many views, a vertex is answered at low confidence rather than delit.
More

Two is the fewest that can reject anything: one observation cannot disagree with itself, so a highlight in it is indistinguishable from paint.

chromaticityStepreadonlyoptionalnumberHow far apart two chromaticities have to be for an edge to be called a material change.
More

The one number that decides what a shadow is. Too small and every shading gradient is read as paint, which puts the shadow back in the albedo; too large and a real material boundary is read as shading, which smears one surface's colour across another. Measured on the synthetic scenes at 0.02 to 0.08; the default sits in the middle of that.

iterationsreadonlyoptionalnumberSweeps of the shading solve. Each one spreads a decision one edge further over the mesh.