Make field lowering policy engine-owned

This commit is contained in:
Meta Vens 2026-05-25 18:26:16 +01:00
commit 069bc5d2e6
7 changed files with 205 additions and 37 deletions

View file

@ -417,6 +417,14 @@ spatiotemporal machine. If a mesh, analytic SDF, tube envelope, or volume pass
can write the same evidence lanes and validation guides, it belongs in the same
frame contract.
For buffer-driven spline fields, the DSL should express the rolling texture
slice, axis, modulo window, surface graph, and quality budget. The interpreter
then chooses the current best lowering. Today that means direct SDF tube
geometry for moderate fields and reservoir splats when an automatic budget says
the direct representation has become too expensive. Future mesh lowering fits
the same contract; it is another backend for the same evidence, not another
authoring language.
### 10. TAA Guide Integration
TAA consumes guide signals:

View file

@ -133,6 +133,14 @@ material/field encoding, conservative bounds, and guide data sufficient for TAA
and reservoir validation. A mesh that only paints pixels is a fallback draw. A
mesh that emits field evidence is a first-class contributor.
The `.aquafield` script surface follows the same boundary. A script declares
intent such as "read this rolling texture slice as a spline field over this
axis, with this surface graph and quality budget." It does not need to choose
direct SDF tubes, reservoir splats, or future mesh lowering. `lowering
mode=auto` is the default contract: the renderer may emit direct SDF tube
geometry when that is cheap and legible, decimate columns/control points under
LOD pressure, or route oversized fields through the reservoir path.
## Invariants
- Reservoir math is a pure, testable core before it becomes HLSL.