sunxfancy
2f13169b68
feat(virtualgeometry): add Nanite-style virtualized geometry rendering
Add a virtualgeometry module implementing a Nanite-inspired virtualized
geometry pipeline on the Vulkan backend:
- Cluster DAG preprocess (CPU): greedy meshletization + QEM edge-collapse
hierarchical LOD, with per-cluster bounding spheres and geometric error.
- GPU-driven culling (compute): frustum + screen-space-error LOD selection
that emits exactly one cluster per DAG branch (no gaps/overlaps).
- Software cluster rasterizer (compute): fills a visibility buffer
(packed depth<<16 | clusterId) via atomicMin.
- Visibility-buffer resolve (CPU readback + resolve shader reference).
- Module facade (VirtualGeometry / VirtualGeometryRenderer) reusing the
gpgpu compute backend; LodSelection CPU reference for tests.
- 14 unit tests (CPU preprocess + LOD-transition sweep + GPU end-to-end),
shader compile script, example, and design doc.
2026-08-16 21:49:40 +08:00
..
2026-08-11 20:41:20 +08:00
2026-08-16 13:06:28 +08:00
2026-08-16 13:06:28 +08:00
2026-08-15 23:35:58 +08:00
2026-08-16 03:55:38 +08:00
2026-08-16 13:06:28 +08:00
2026-08-10 21:20:44 +08:00
2026-08-16 13:06:28 +08:00
2026-08-15 15:57:38 +08:00
2026-08-16 13:06:28 +08:00
2026-08-16 13:06:28 +08:00
2026-08-09 13:21:17 +00:00
2026-08-15 10:22:35 +08:00
2026-08-16 03:56:07 +08:00
2026-08-06 21:08:47 +08:00
2026-08-16 03:43:38 +08:00
2026-08-16 13:06:28 +08:00
2026-08-16 13:06:28 +08:00
2026-08-16 13:06:28 +08:00
2026-08-12 14:30:36 +08:00
2026-08-16 13:06:28 +08:00
2026-08-11 14:49:17 +08:00
2026-08-16 13:06:28 +08:00
2026-08-16 21:49:40 +08:00
2026-08-16 03:51:55 +08:00