Splats · const
SPLAT_BUDGET_DEFAULT
The count a part this engine has no evidence against is asked to draw.
Explained in Gaussian splats.
const SPLAT_BUDGET_DEFAULT = 400000import { SPLAT_BUDGET_DEFAULT } from '@driftengine/splats';In depth
This is an estimate and it is not measured, which is the first thing to know about it.
AGENTS.md says fidelity is cut on a measurement and not on a fear, and the measurement that
settles this one is a frame time from a real mid-range Android phone drawing a real capture —
which this repository does not have. What is here instead is the arithmetic: a splat pass is
fill-bound, a splat at ±2σ covers a few dozen blended fragments, and a mid-range mobile part has
something under half a gigapixel a frame of blended fill at 60 Hz. Four hundred thousand splats
is what that budget divides into, and it is the range published mobile viewers of this technique
report.
What it costs if it is too low is a capture thinner than the device could have drawn, which
is visible as a sparser cloud and nothing worse. What would make it wrong is a measurement,
in either direction, and a consumer holding one should pass its own number rather than wait for
this line to be corrected. docs/IMPROVEMENTS.md carries it as an open measurement.