Blender
V3.3
|
#include <PseudoNoise.h>
Public Member Functions | |
virtual | ~PseudoNoise () |
real | smoothNoise (real x) |
real | linearNoise (real x) |
real | turbulenceSmooth (real x, unsigned nbOctave=8) |
real | turbulenceLinear (real x, unsigned nbOctave=8) |
Static Public Member Functions | |
static void | init (long seed) |
Static Protected Attributes | |
static const unsigned | NB_VALUE_NOISE = 512 |
static real | _values [NB_VALUE_NOISE] |
Definition at line 18 of file PseudoNoise.h.
|
inlinevirtual |
Definition at line 20 of file PseudoNoise.h.
|
static |
Definition at line 30 of file PseudoNoise.cpp.
References _values, Freestyle::RandGen::drand48(), NB_VALUE_NOISE, seed, and Freestyle::RandGen::srand48().
Definition at line 38 of file PseudoNoise.cpp.
References _values, modf_to_index(), NB_VALUE_NOISE, t, Freestyle::x, and x2.
Referenced by turbulenceLinear().
Definition at line 58 of file PseudoNoise.cpp.
References _values, Freestyle::LanczosWindowed(), modf_to_index(), NB_VALUE_NOISE, t, UNLIKELY, Freestyle::x, x2, and y1.
Referenced by turbulenceSmooth().
Definition at line 93 of file PseudoNoise.cpp.
References linearNoise(), Freestyle::x, and y.
Referenced by Freestyle::SpatialNoiseShader::shade().
Definition at line 82 of file PseudoNoise.cpp.
References smoothNoise(), Freestyle::x, and y.
Referenced by Freestyle::SpatialNoiseShader::shade(), Freestyle::StrokeShaders::ThicknessNoiseShader::shade(), and Freestyle::StrokeShaders::ColorNoiseShader::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().