Log inGet started
World

Turquoise Cay

README.md

VegPlants

Deterministic generators for the tropicalProps beach plants, flowering bushes and palm litter: beachGrass, seaOats, seaGrape, beachMorningGlory, spiderLily, tropicalUndergrowth, hibiscusBush, bougainvilleaBush, fernTropical, coconut, coconutPile, palmFrondFallen. VegPlants.generate(kind, variant, form) returns { lods = { [0] = parts, [1] = parts, [2] = parts } } of VegGeo geometries (leaves, flowers, stems, fruit, grass, seed, husk, green, sprout, dry). VegBake calls it.

Leaves, petals and bracts are real outlines fanned from their base (ovate, round, notched goat's-foot, heart, strap, pinna), each carrying UV 0..1 (u across, v base -> tip) so any leaf card texture reads. Bushes are a dome of leaves with normals bent outward from the bush centre on a few stems, flowers set into the outer shell. Grass is alpha tuft cards (v = 0 at the ground). LOD1 keeps every third leaf at 1.6x size; LOD2 keeps a few big leaves for bushes and is culled for small plants. Forms: real, toon (fewer, bigger leaves), low (faceted).