Module ground_cover
Expand description
Multi-Scale Semantic Ground Cover & Viewport LOD Governor.
Bridges persistent 10D ecological graph state with ephemeral WebGPU viewport realization:
- Semantic Ecotope Patches: species mix, LAI, turgor $P_t$, moisture, trample vectors
- 4-Tier Continuous LOD Hierarchy:
- LOD 0 (0–8m): Cosserat Cubic Bézier blades
- LOD 1 (8–25m): Stochastic clump ribbons
- LOD 2 (25–80m): Volumetric heightfield shells
- LOD 3 (>80m): SGGX anisotropic microflake BRDF
- Camera-centered toroidal clipmap scrolling (zero heap re-allocation)
- Megapixel Governor: screen-space solid-angle density clamping ($\le 1.5\times$ viewport pixels)
Structs§
- Ecotope
Patch - A compact semantic ground-cover ecotope patch.
- Toroidal
Ground Cover Clipmap - Zero-allocation toroidal clipmap buffer centered on the moving camera.
Enums§
- Ground
Cover Lod - 4-tier continuous representation level.
Constants§
Functions§
- spatial_
hash_ 2d - Deterministic spatial hash generating consistent pseudo-random offsets from world position $(x, z)$.