voxolith
API reference@voxolith/gen-treeInterfaces

FoliageParams

Which leaves exist: broadleaf clumps on the twigs or conifer needle sheaths, and how they are carved.

Defined in: tree/src/params.ts:79

Properties

PropertyTypeDescriptionDefined in
clusterFlattennumberVertical squash of a cluster.tree/src/params.ts:85
clusterRadiusnumberBroadleaf cluster radius in voxels at height 192.tree/src/params.ts:83
coneExpnumberConifer: conical envelope exponent and radius as a fraction of height.tree/src/params.ts:102
crownRadiusRationumber-tree/src/params.ts:103
enabledbooleanGrow foliage at all; off leaves the bare wood.tree/src/params.ts:81
fillCorenumberNoise threshold at the cluster core and rim; higher removes more.tree/src/params.ts:91
fillRimnumber-tree/src/params.ts:92
macroScalenumberFrequency and threshold of the sky-hole carve.tree/src/params.ts:96
macroThresholdnumber-tree/src/params.ts:97
sheathFillnumber-tree/src/params.ts:100
sheathRadiusnumberConifer: needle sheath radius around a branch axis.tree/src/params.ts:99
shellDepthnumberDrop leaves deeper than this below the canopy hull. 0 disables.tree/src/params.ts:94
spacingnumberDistance between attachment points along a twig, in voxels.tree/src/params.ts:87
tipBoostnumberRadius multiplier for the cluster on each twig tip.tree/src/params.ts:89
whorlGapnumberConifer: empty voxels kept above each whorl plane.tree/src/params.ts:105

On this page