Go to the source code of this file.
Compounds | |
class | PNoise |
Defines | |
#define | AFX_PNOISE_H__C1CDB3F2_6FDA_49C8_BF27_1DEDA73F3EE5__INCLUDED_ |
Functions | |
void | gen2DPerlinTexture (float *&data, unsigned int sx, unsigned int sy, unsigned int components, int octaves=4, float frequencyScale=2, float amplitudeScale=2, bool absNoise=false) |
generate a texture with perlin noise allocates space for you, new range is always [0-1] | |
void | gen3DPerlinTexture (float *&data, unsigned int sx, unsigned int sy, unsigned int sz, unsigned int components, int octaves=4, float frequencyScale=2, float amplitudeScale=2, bool absNoise=false) |
absolute value noise |
|
|
|
generate a texture with perlin noise allocates space for you, new range is always [0-1]
Definition at line 439 of file PNoise.cpp. References data, PNoise::seed(), PNoise::setParams(), x, and y. |
|
absolute value noise
Definition at line 477 of file PNoise.cpp. References data, PNoise::seed(), PNoise::setParams(), x, y, and z. |