Skip to main content

Module vegetation

Module vegetation 

Source
Expand description

Bounded zero-heap vegetation instance pool and dynamic collision bending. Bounded zero-heap vegetation instance pool and dynamic collision bending.

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§

EcotopePatch
A compact semantic ground-cover ecotope patch.
FloraArchetypeConfig
Continuous biophysical trait parameters defining any flora archetype.
FloraBiomechanicsEvaluator
Evaluator for stem mechanics and seasonal dieback across flora archetypes.
LeafEconomicsProfile
Continuous Leaf Economics Spectrum (LES) profile.
LeafVascularSkeleton
Zero-heap planar leaf vascular skeleton with coupled biophysics.
Metamer
The atomic structural and hydraulic unit of a plant graph.
MetamerPlantGraph
Zero-heap whole-plant FSPM solver.
ThermalPhenology
Thermal time phenology tracker.
ToroidalGroundCoverClipmap
Zero-allocation toroidal clipmap buffer centered on the moving camera.
VegetationBendingParams
Physical parameters controlling vegetation stiffness, recovery, and wind reaction.
VegetationCollider
A dynamic physical collider (character, vehicle, projectile) interacting with foliage.
VegetationEvaluator
Zero-heap evaluator for dynamic vegetation instances.
VegetationInstanceState
Persistent state for a single vegetation instance in the pool.
VeinEdge
A single vascular vein segment within the leaf dual-graph skeleton.

Enums§

GroundCoverLod
4-tier continuous representation level.
MetamerOrgan
Botanical organ type borne by a metamer node.
RaunkiaerLifeForm
Raunkiær life form based on the vertical height $z$ of surviving buds during the harsh season.
StemSupportRegime
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)$.