C# Class LibNoise.Filter.HybridMultiFractal

Noise module that outputs 3-dimensional hybrid-multifractal noise. Hybrid-multifractal noise the perturbations are combined additively, but the single perturbation is computed by multiplying two quantities called weight and signal. The signal quantity is the standard multifractal perturbation, and the weight quantity is the multiplicative combination of all the previous signal quantities. Hybrid-multifractal attempts to control the amount of details according to the slope of the underlying overlays. Hybrid Multifractal is conventionally used to generate terrains with smooth valley areas and rough peaked mountains. With high Lacunarity values, it tends to produce embedded plateaus. Some good parameter values to start with: gain = 1.0; offset = 0.7; spectralExponent = 0.25;
Inheritance: FilterModule, IModule3D, IModule2D
Show file Open project: everbytes/LibNoise Class Usage Examples

Public Methods

Method Description
GetValue ( float x, float y ) : float

Generates an output value given the coordinates of the specified input value.

GetValue ( float x, float y, float z ) : float

Generates an output value given the coordinates of the specified input value.

HybridMultiFractal ( )

0-args constructor

Method Details

GetValue() public method

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x, float y ) : float
x float The input coordinate on the x-axis.
y float The input coordinate on the y-axis.
return float

GetValue() public method

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x, float y, float z ) : float
x float The input coordinate on the x-axis.
y float The input coordinate on the y-axis.
z float The input coordinate on the z-axis.
return float

HybridMultiFractal() public method

0-args constructor
public HybridMultiFractal ( )