BVH+DynamicStructureTable+StructureId removal+Tree
This commit is contained in:
@@ -113,8 +113,8 @@ flowchart LR
|
||||
|
||||
Req --> Gather[gather_requests<br/>top-K + radix sort]
|
||||
TReq --> TGather[table gather_requests]
|
||||
Gather --> RBuffer[(Request buffer<br/>structure_id, anchor, node_id, child)]
|
||||
TGather --> TRBuffer[(Table request buffer<br/>structure_id, anchor, slot)]
|
||||
Gather --> RBuffer[(Request buffer<br/>anchor, node_id, child)]
|
||||
TGather --> TRBuffer[(Table request buffer<br/>anchor, slot)]
|
||||
|
||||
RBuffer --> Host[Host fulfils requests]
|
||||
TRBuffer --> Host
|
||||
@@ -198,7 +198,7 @@ Consequences agents should keep in mind:
|
||||
| `src/gpu/` | Radix sort, top-K, indirect dispatch, compaction helpers | Active infrastructure |
|
||||
| `src/gpu_profiler/` | Timestamp profiling and memory accounting wrappers | Active infrastructure |
|
||||
| `src/gi_pipeline.rs` (+ `sparse_set.rs`) | Planned GI pipeline using cache attribute sets | **Compiled but never instantiated** |
|
||||
| `src/production.rs` | Producer/structure IDs, `StructureAnchor` re-export, `VoxelProducer` trait | Compiled; durable contract |
|
||||
| `src/production.rs` | Producer ID, `StructureAnchor` re-export, `VoxelProducer` trait | Compiled; durable contract |
|
||||
| `src/production/host_production.rs` | Rayon-based `HostRequestHandler` | Compiled; `fullfill` still a stub |
|
||||
| `src/production/tree_locator.rs` | Compact N-tree locator encoding | Compiled; inactive |
|
||||
| `src/production/request_queue.rs` | Bounded, deduplicating, priority-ordered request queue | Compiled, unit-tested; not yet on the live async path |
|
||||
@@ -238,10 +238,10 @@ The toroidal table is a dense 3D grid of chunk root pointers. It wraps with
|
||||
`imod`, so moving the camera across a chunk boundary invalidates the departing
|
||||
slab and reuses those slots for incoming chunks. Identity is kept separate from
|
||||
placement: each slot carries a table-defined `StructureAnchor` (world position
|
||||
plus a version word) and a stable `StructureId`. Anchors that stay in view keep
|
||||
their id while their slot may change; anchors that leave retire their id, which
|
||||
is never reused. In-flight root work carries the anchor and the latest slot, and
|
||||
the GPU rejects an insertion whose anchor/id no longer matches the slot, so queue
|
||||
plus a version word), and the anchor is the structure identity. Anchors that stay
|
||||
in view keep their identity while their slot may change; anchors that leave are
|
||||
retired. In-flight root work carries the anchor and the latest slot, and the GPU
|
||||
rejects an insertion whose anchor no longer matches the slot, so queue
|
||||
invalidation is only a cancellation optimisation.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user