Add Leap point cloud field socket

This commit is contained in:
Meta Vens 2026-05-30 22:54:59 +01:00
commit 4fadcfff14
9 changed files with 494 additions and 73 deletions

View file

@ -448,6 +448,18 @@ publishes min disparity 0, 128 disparities, four paths, census radius 2, P1 8,
and P2 96. Fensalir now has a first packed-Leap D3D12 kernel that writes R16F
disparity through a crude SAD/block-match pass. This is intentionally a small
kernel-shaped proof, not full libSGM-style SGM or calibrated metric depth yet.
The first point-cloud root is also code-visible now:
`MimirPointCloudConfigurations.LeapDisparityPointCloudRoot` records the
stereo-disparity projection profile and provenance, while
`MimirFensalirFieldLowering.BuildLeapPackedStereoPointCloudCandidateFrame`
declares a GPU-resident `FieldMesh` point-list resource derived from the Leap
R16F disparity SurfacePage. `MimirRuntime` merges that Mesh claim into the same
evidence frame as the Leap stereo-depth lowering. `Mimir.BufferSmoke
--leap-point-cloud-root-smoke` proves the combined depth/point-cloud contract
plans as one `SurfacePage` packet and one `Mesh` packet with zero deferred
requests. Fensalir still needs the actual D3D12 disparity-to-vertex compute
lowering and editor draw path before those points are visible in the Mimir
scene.
Fensalir must not be treated as a traditional rendering pipeline. Mimir does
not ask it to "draw a thing" and hope post-processing makes the result true.

View file

@ -100,7 +100,14 @@ Get-Content .\state\evidence.jsonl -Tail 8
same declared texture as left/right resource identity and treats R/G as the
packed observation lanes. Fensalir now has a first packed-Leap D3D12
SAD/block-match disparity writer, not full libSGM-style SGM or calibrated
metric depth.
metric depth. Mimir also now declares the first Leap point-cloud root:
`MimirPointCloudConfigurations.LeapDisparityPointCloudRoot` and
`BuildLeapPackedStereoPointCloudCandidateFrame` emit a GPU-resident
`FieldMesh` point-list resource derived from that disparity SurfacePage. Run
`dotnet run --project .\src\Mimir.BufferSmoke\Mimir.BufferSmoke.csproj -- --leap-point-cloud-root-smoke`
to verify the combined `SurfacePage` plus `Mesh` packet plan. This is a
typed socket only; Fensalir still needs the D3D12 vertex-generation lowering
and editor draw path to show the point cloud.
- Fensalir also owns the EVE-facing dashboard pixels through
`Global\MimirFensalirProgramTexture`. `src/Mimir.EveRelay` opens that shared
texture, encodes H.264 Annex-B with NVENC by default, and serves EveCanvas
@ -129,7 +136,9 @@ Get-Content .\state\evidence.jsonl -Tail 8
## Current Pressure
- Implement the first concrete Leap direct capture driver and measure cadence.
- Implement Fensalir's Leap disparity-to-point vertex lowering and render the
resulting point cloud in the Mimir editor; then add the global
residual/calibration owner.
- Cut the Phase 1 Mimir-to-Fensalir bridge DTOs for rolling windows,
observations, calibration constraints, and surface intent before adding
another backend-specific visual path.