OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson! More...
#include <OgreVolumeSimplexNoise.h>
Public Member Functions | |
SimplexNoise (unsigned long definedSeed) | |
Constructor with a by seed defined permutation table. | |
SimplexNoise (void) | |
Constructor with a random permutation table. | |
long | getSeed (void) const |
Gets the current seed. | |
Real | noise (Real xIn, Real yIn, Real zIn) const |
3D noise function. | |
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson!
Ogre::Volume::SimplexNoise::SimplexNoise | ( | void | ) |
Constructor with a random permutation table.
Constructor with a by seed defined permutation table.
definedSeed | The seed to use. |
Gets the current seed.
3D noise function.
xIn | The first dimension parameter. |
yIn | The second dimension parameter. |
zIn | The third dimension parameter. |