OGRE-Next
3.0.0
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 () | |
Constructor with a random permutation table. More... | |
SimplexNoise (unsigned long definedSeed) | |
Constructor with a by seed defined permutation table. More... | |
long | getSeed () const |
Gets the current seed. More... | |
Real | noise (Real xIn, Real yIn, Real zIn) const |
3D noise function. More... | |
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java Thanks Stefan Gustavson!
Ogre::Volume::SimplexNoise::SimplexNoise | ( | ) |
Constructor with a random permutation table.
Ogre::Volume::SimplexNoise::SimplexNoise | ( | unsigned long | definedSeed | ) |
Constructor with a by seed defined permutation table.
definedSeed | The seed to use. |
long Ogre::Volume::SimplexNoise::getSeed | ( | ) | const |
Gets the current seed.
3D noise function.
xIn | The first dimension parameter. |
yIn | The second dimension parameter. |
zIn | The third dimension parameter. |