Record TubeField generated mesh binding

This commit is contained in:
Meta Vens 2026-05-26 22:50:05 +01:00
commit dd4f65277a
5 changed files with 21 additions and 7 deletions

View file

@ -217,8 +217,11 @@ lowerings that interpret mesh/page/volume resources as geometry, height/SDF/
material pages, or density/extinction/SDF3D domains. Mesh layout authority is
split by source: imported/user meshes use the standard `PositionNormalUvColor`
layout, while generated meshes can be `PipelinePrivate` and leave byte
semantics to their selected lowering. That is engine ownership, not a reason
for Mimir to create a parallel renderer.
semantics to their selected lowering. TubeField now uses that generated-mesh
lane explicitly: compute emits private geometry/indirect buffers and render
binds them as a pipeline-private generated mesh before applying TubeField
material state. That is engine ownership, not a reason for Mimir to create a
parallel renderer.
### 3. Calibration Constraint

View file

@ -188,7 +188,10 @@ a named invariant that the native runtime cannot protect yet.
lowerings exist. Mesh layout authority is split by source: imported/user
meshes use the standard `PositionNormalUvColor` vertex layout, while generated
meshes declare `PipelinePrivate` and let the selected lowering own the minimal
bytes it emits and consumes.
bytes it emits and consumes. TubeField is the first explicit generated-mesh
render consumer: its compute path emits private vertex/index/indirect buffers,
and render binds them as a `D3D12PipelinePrivateGeneratedMesh` before applying
TubeField source/ramp/material state.
- `MimirRuntime` queues bioacoustic timeline PCM through Fensalir audio when the
active timing witness is allowed. `MimirAudioSynchronizationSettings.Mode`
selects `chirp-only`, `passive`, or `hybrid`; passive disables active
@ -333,9 +336,10 @@ a named invariant that the native runtime cannot protect yet.
resource-backed claims against those resources. The next engine cuts are
selected render lowerings that consume those resources as mesh geometry,
height/SDF/material pages, and density/extinction/SDF3D volumes. The generic
imported mesh ABI is no longer the blocker; the next renderer decision is
which selected generated/imported mesh lowering and material path should be
implemented first.
imported mesh ABI is no longer the blocker; TubeField now occupies the first
generated-mesh lowering lane. The next renderer decisions are how to expose
additional generated mesh producers and which page/volume/material lowering
should follow.
9. Move mic alignment, room suppression, voice separation, spatialization, and
stem generation into Faust/native DSP.
10. Keep the OBS bridge witness ledger as evidence before expanding receiver

View file

@ -345,7 +345,10 @@ consume mesh/page/volume resources as geometry, height/SDF/material pages, or
density/extinction/SDF3D domains. Mesh layout authority is split by source:
imported/user meshes use the standard `PositionNormalUvColor` layout, and
generated meshes can be `PipelinePrivate` so each lowering owns the bytes it
emits and consumes.
emits and consumes. TubeField is the first concrete generated-mesh consumer:
its compute pass emits private vertex/index/indirect buffers and render binds
them as `D3D12PipelinePrivateGeneratedMesh` before applying source/ramp/material
state.
The current teardown/migration map is
`docs/fensalir-rendering-rebuild-migration.md`, paired with Fensalir's

View file

@ -151,3 +151,4 @@
{"ts": "2026-05-26T21:24:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now resolves Mesh field resources as one package: Mesh.Vertices and Mesh.Indices describe the GPU vertex/index buffers, with topology, index format, bounds, submesh count, and version on the package. The DSL accepts `mesh id=... key=... vertices=... vertexStride=... indices=... indexFormat=... topology=...`, and D3D12FieldResourceRegistry allocates/reuses the GPU-resident buffers under the mesh resource key. This is resolver authority only; mesh draw/material lowerings remain future work. Fensalir build/tests/headless reload passed."}
{"ts": "2026-05-26T21:42:00+01:00", "type": "implementation", "status": "blocked", "note": "Fensalir's evidence DSL can now plan generic resource-backed claims with `claim id=... resource=... encoding=... layer=...`, so Mesh, SurfacePage, and VolumeTexture resources reach backend packet planning. The remaining renderer cut is blocked on selected render-lowering contracts: Mesh drawing needs explicit vertex attribute/material semantics because count/stride/index format only describe buffer shape, not how bytes become position, normal, uv, color, transform, or material."}
{"ts": "2026-05-26T21:58:00+01:00", "type": "decision", "status": "ok", "note": "Clarified Fensalir Mesh layout authority: imported/user-facing FBX/OBJ-style meshes use the standard PositionNormalUvColor vertex layout, while generated meshes declare PipelinePrivate and let their selected lowering own the exact minimal byte layout. The generic mesh ABI is no longer the blocker; next renderer work should choose the first selected mesh/page/volume lowering and material path."}
{"ts": "2026-05-26T22:49:00+01:00", "type": "implementation", "status": "ok", "note": "Fensalir TubeField now renders through the first explicit pipeline-private generated mesh lane. Compute owns the private D3D12TubeFieldVertex/index/indirect argument layout; render binds those buffers as a D3D12PipelinePrivateGeneratedMesh before applying TubeField source/ramp/material root bindings and ExecuteIndirect. This follows the generated-mesh option without adding a public imported mesh renderer."}

View file

@ -339,6 +339,9 @@ accepted_design:
engine work. Mesh layout authority is split: imported/user-facing meshes use
the standard `PositionNormalUvColor` vertex layout, while generated meshes
can be `PipelinePrivate` and let the lowering own the minimal bytes.
TubeField now renders through the first explicit pipeline-private generated
mesh binding: compute owns the private vertex/index/indirect layout, and
render binds that generated mesh before applying TubeField material state.
- `config/perfect-machine.example.json` declares live owners, sensors,
reservoir views, and runtime policy.
- `src/Mimir.Runtime/Synchronization` now includes the Perfect Machine module