Package com.jme3.terrain.noise
Interface Basis
- All Known Subinterfaces:
- Fractal
- All Known Implementing Classes:
- FilteredBasis,- FractalSum,- ImprovedNoise,- Noise,- NoiseAggregator
public interface Basis
Interface for - basically 3D - noise generation algorithms, based on the
 book: Texturing & Modeling - A Procedural Approach
 
 The main concept is to look at noise as a basis for generating fractals.
 Basis can be anything, like a simple:
 
 
 float value(float x, float y, float z) {
     return 0; // a flat noise with 0 value everywhere
 }
 
 
 or a more complex perlin noise (ImprovedNoise
 
 Fractals use these functions to generate a more complex result based on some
 frequency, roughness, etcetera values.
 
 Fractals themselves are implementing the Basis interface as well, opening
 an infinite range of results.- Since:
- 2011
- 
Method Details- 
initvoid init()
- 
setScale
- 
getScalefloat getScale()
- 
addModulator
- 
valuefloat value(float x, float y, float z) 
- 
getBuffer
 
-