|
Blender V4.3
|
#include <PseudoNoise.h>
Public Member Functions | |
| virtual | ~PseudoNoise () |
| real | smoothNoise (real x) |
| real | linearNoise (real x) |
| real | turbulenceSmooth (real x, uint nbOctave=8) |
| real | turbulenceLinear (real x, uint nbOctave=8) |
Static Public Member Functions | |
| static void | init (long seed) |
Static Protected Attributes | |
| static const uint | NB_VALUE_NOISE = 512 |
| static real | _values [NB_VALUE_NOISE] |
Definition at line 20 of file PseudoNoise.h.
|
inlinevirtual |
Definition at line 22 of file PseudoNoise.h.
|
static |
Definition at line 32 of file PseudoNoise.cpp.
References _values, Freestyle::RandGen::drand48(), NB_VALUE_NOISE, seed, and Freestyle::RandGen::srand48().
Referenced by Freestyle::Canvas::Canvas(), and Freestyle::Canvas::Canvas().
Definition at line 40 of file PseudoNoise.cpp.
References _values, modf_to_index(), and NB_VALUE_NOISE.
Referenced by turbulenceLinear().
Definition at line 60 of file PseudoNoise.cpp.
References _values, Freestyle::LanczosWindowed(), modf_to_index(), NB_VALUE_NOISE, and UNLIKELY.
Referenced by turbulenceSmooth().
Definition at line 95 of file PseudoNoise.cpp.
References linearNoise(), and y.
Referenced by Freestyle::SpatialNoiseShader::shade().
Definition at line 84 of file PseudoNoise.cpp.
References smoothNoise(), and y.
Referenced by Freestyle::SpatialNoiseShader::shade(), Freestyle::StrokeShaders::ColorNoiseShader::shade(), and Freestyle::StrokeShaders::ThicknessNoiseShader::shade().
|
staticprotected |
Definition at line 34 of file PseudoNoise.h.
Referenced by init(), linearNoise(), and smoothNoise().
|
staticprotected |
Definition at line 33 of file PseudoNoise.h.
Referenced by init(), linearNoise(), and smoothNoise().