Log inGet started
World

Beechwood Brook: A Temperate Forest to Walk, with Trees, Undergrowth and a Forest Builder

README.md

TreeGen

Deterministic tree generator behind the forestProps trees. TreeGen.generate(kind, age, variant) grows a skeleton (trunk -> limbs -> branches -> twigs) whose lengths are cut by a per-species crown envelope (oak broad and lumpy, beech dome, birch narrow and weeping, maple round), builds bark as tapered parallel-transport tubes with root flare, buttress lobes, join collars and continuous world-scale bark UVs, places alpha-cut leaf-cluster cards on the twigs with outward-bent normals and crown-depth shading, and returns per-LOD geometry within triangle budgets: LOD0 bark/leaf/toon (clumped-blob crown), LOD1 (thinned), LOD2 (big cluster cards + limbs, plus barkw, a branches-only winter stand-in). Also builds deadSnag, brokenTree and fallenGiant. Species x age parameters live in TreeGen.config. Tool-time only: TreeBake calls it and bakes the result; nothing loads it at runtime.