| PerlinNoiseNoise 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.StatisticsAssembly: 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
)
<ObsoleteAttribute("This method is obsolete. Use PerlinNoise.Compute instead.")>
Public Shared Function Noise (
x As Double,
y As Double,
z As Double
) As Double
public:
[ObsoleteAttribute(L"This method is obsolete. Use PerlinNoise.Compute instead.")]
static double Noise(
double x,
double y,
double z
)
[<ObsoleteAttribute("This method is obsolete. Use PerlinNoise.Compute instead.")>]
static member Noise :
x : float *
y : float *
z : float -> float
Parameters
- x
- Type: SystemDouble
The x position. - y
- Type: SystemDouble
The y position. - z
- Type: SystemDouble
The z position.
Return Value
Type:
DoubleThe 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