Package com.ardor3d.math.functions
Class CloudsFunction3D
java.lang.Object
com.ardor3d.math.functions.FbmFunction3D
com.ardor3d.math.functions.CloudsFunction3D
- All Implemented Interfaces:
Function3D
A variation of fBm that uses absolute value to recast the extreme ends to the upper range and values near 0 to the
lower range. This bunches together values into clusters that can resemble clouds or cotton balls.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCloudsFunction3D
(Function3D source, int octaves, double frequency, double persistence, double lacunarity) -
Method Summary
Methods inherited from class com.ardor3d.math.functions.FbmFunction3D
eval, getFrequency, getLacunarity, getOctaves, getPersistence, getSource, setFrequency, setLacunarity, setOctaves, setPersistence, setSource
-
Field Details
-
MAX_OCTAVES
public static final int MAX_OCTAVES- See Also:
-
-
Constructor Details
-
CloudsFunction3D
public CloudsFunction3D(Function3D source, int octaves, double frequency, double persistence, double lacunarity)
-
-
Method Details
-
getValue
protected double getValue(double dx, double dy, double dz) - Overrides:
getValue
in classFbmFunction3D
-