Click or drag to resize
DigitalRunePerlinNoiseNoise Method (Double, Double, Double)

Note: This API is now obsolete.

Computes a 3d noise value for a 3d position given by (x, y, z).

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
[ObsoleteAttribute("This method is obsolete. Use PerlinNoise.Compute instead.")]
public static double Noise(
	double x,
	double y,
	double z
)

Parameters

x
Type: SystemDouble
The x position.
y
Type: SystemDouble
The y position.
z
Type: SystemDouble
The z position.

Return Value

Type: Double
The 3d noise value for the given position (x, y, z).
Remarks

This method is obsolete. Use Compute(Double, Double, Double) instead.

Perlin noise is consistent: For a constant position this method always returns the same noise value.

The noise should be in the range [-1, 1]. The noise value at integer positions is 0, for example Noise(11, 12, 13) = 0.

There is at max one oscillation (1 whole sine period) between two consecutive integer value.

Random values are generated per table lookup. Since the table is limited, the noise function repeats itself after 256 values: Noise(i, 0, 0) == Noise(i + 256, 0, 0)

See Also