Module vegetation
Expand description
Vegetation simulation, physical bending, leaf biophysics, FSPM metamers, and ground cover.
Modules§
- bending
- Bounded, zero-heap vegetation instance pool and dynamic collision bending.
- flora_
archetype - Universal Flora Archetypes & Raunkiær Life-Form Dynamics.
- ground_
cover - Multi-Scale Semantic Ground Cover & Viewport LOD Governor.
- leaf_
biophysics - Procedural Leaf Biophysics & Dual-Graph Venation.
- metamer_
fspm - Functional-Structural Plant Model (FSPM) & Metamer Graph Engine.
Structs§
- Ecotope
Patch - A compact semantic ground-cover ecotope patch.
- Flora
Archetype Config - Continuous biophysical trait parameters defining any flora archetype.
- Flora
Biomechanics Evaluator - Evaluator for stem mechanics and seasonal dieback across flora archetypes.
- Leaf
Economics Profile - Continuous Leaf Economics Spectrum (LES) profile.
- Leaf
Vascular Skeleton - Zero-heap planar leaf vascular skeleton with coupled biophysics.
- Metamer
- The atomic structural and hydraulic unit of a plant graph.
- Metamer
Plant Graph - Zero-heap whole-plant FSPM solver.
- Thermal
Phenology - Thermal time phenology tracker.
- Toroidal
Ground Cover Clipmap - Zero-allocation toroidal clipmap buffer centered on the moving camera.
- Vegetation
Bending Params - Physical parameters controlling vegetation stiffness, recovery, and wind reaction.
- Vegetation
Collider - A dynamic physical collider (character, vehicle, projectile) interacting with foliage.
- Vegetation
Evaluator - Zero-heap evaluator for dynamic vegetation instances.
- Vegetation
Instance State - Persistent state for a single vegetation instance in the pool.
- Vein
Edge - A single vascular vein segment within the leaf dual-graph skeleton.
Enums§
- Ground
Cover Lod - 4-tier continuous representation level.
- Metamer
Organ - Botanical organ type borne by a metamer node.
- Raunkiaer
Life Form - Raunkiær life form based on the vertical height $z$ of surviving buds during the harsh season.
- Stem
Support Regime - Mechanical stem support regime.
Constants§
- MAX_
METAMERS - MAX_
VEGETATION_ COLLIDERS - Maximum number of dynamic colliders evaluated against vegetation per step.
- MAX_
VEIN_ EDGES - NO_
PARENT_ METAMER - NO_
PARENT_ VEIN - TOROIDAL_
GRID_ DIM - TOROIDAL_
TOTAL_ CELLS
Functions§
- derive_
bending_ params_ from_ flora - Derives physical vegetation bending and wind response parameters directly from a live biophysical flora archetype evaluator (coupling turgor, lignification, and Young’s modulus).
- spatial_
hash_ 2d - Deterministic spatial hash generating consistent pseudo-random offsets from world position $(x, z)$.