Class TCastleTerrainNoise

Unit

Declaration

type TCastleTerrainNoise = class(TCastleTerrainData)

Description

Terrain heights are generated from a smooth noise, combined with some terrain-specific improvements (Heterogeneous).

We take the noise (integer noise, i.e. hash), smooth it (how well, and how fast — see Interpolation and Blur), and add several functions ("octaves") of such noise (with varying frequency and amplitude) together. This is the kind of noise used to synthesize textures, terrains and all other procedural stuff.

For more info about math inside:

Source: scene/castleterrain.pas (line 255).

Hierarchy


Generated by PasDoc 0.17.0.snapshot.