Skip to content

Trees ​

Vegetation vegetation.trees

A tree population: where trees grow (Density) and one point per tree (Points), from slope, altitude, water and earlier populations (Occupied). Dead zones marks scree and slide paths. Occupied is the ground taken (all of it from a density of 0.5) added to the Occupied input, for chaining populations.

Trees with default settings

Output with default settings, rendered by LibreTerrain.

Inputs ​

PortType
TerrainHeightfield
WaterMaskOptional
SnowMaskOptional
Allowed areaMaskOptional
OccupiedMaskOptional

Outputs ​

PortType
DensityMask
PointsPoints
Dead zonesMask
OccupiedMask
Water influenceMask

Settings ​

SettingDefaultRange / optionsDescription
SpeciestreeName written with each point in exported point files (e.g. scots_pine), so import scripts can pick the matching mesh.
Coverage Mask port0.80 to 1Density where conditions are ideal. 1 packs plants as closely as Spacing allows.
Health0.80 to 1How well the plants cope with poor ground. Lower health leaves only the best spots covered.
Water preference0.2-1 to 1Above 0 the plants seek water, below 0 they avoid it. Water is the Water input (e.g. a Wetness mask), or valleys if it isn't connected.
Spread20 m0 to 2,000 mHow far plants spread beyond the ground that suits them, in metres.
Patches0.40 to 1Groups plants into clumps and clearings. 0 = even cover.
Patch size150 m5 to 20,000 mTypical size of clumps and clearings, in metres.
Randomness0.30 to 1Fine, random thinning of the cover.
Slope min0 °0 to 90 °Plants grow on slopes between Slope min and max.
Slope max35 °0 to 90 °
Slope falloff6 °0 to 45 °How gradually cover fades outside the slope range.
Altitude min-10,000 m-10,000 to 20,000 mPlants grow between Altitude min and max, in metres.
Altitude max1,400 m-10,000 to 20,000 m
Altitude falloff100 m0 to 5,000 mHow gradually cover fades outside the altitude range (the tree line).
Avoid peaks0.40 to 1Thins cover on exposed peaks and ridge crests.
Snow tolerance0.20 to 1How much snow (Snow input) the plants survive. 0 = none.
OccupiedAvoidAvoid, Intermingle, Grow nearHow this population treats ground taken by earlier ones (Occupied input): keep out, share it thinly, or cluster around its edges.
Occupied strength10 to 1
Dead zones0.50 to 1Clears scree slopes, their run-outs and snow-slide paths. Also an output, for placing rocks.
Dead zone slope38 °0 to 90 °Slopes steeper than this become dead zones.
Spacing7 m0.25 to 1,000 mMinimum distance between two points, in metres.
Rotation min0 °0 to 360 °Each point turns by a random angle between Rotation min and max.
Rotation max360 °0 to 360 °
Scale min0.80.01 to 100Each point gets a random scale between Scale min and max (1 = the mesh as modelled).
Scale max1.20.01 to 100
Seed00 to 999,999Change for a different variation.

Mask ports

Settings marked Mask port can be driven by a mask. Click the setting's Mask port button and connect a mask to the new green input: black scales the value to 0, white keeps the value you set.

See also ​

Debris / Rocks · Grass · Shrubs

Code dual-licensed MIT / Apache-2.0. "LibreTerrain" and its logo belong to EllisonDigital.