|
Blender V5.0
|
#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 18 of file PseudoNoise.h.
|
inlinevirtual |
Definition at line 20 of file PseudoNoise.h.
|
static |
Definition at line 32 of file PseudoNoise.cpp.
References _values, Freestyle::RandGen::drand48(), i, 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, i, modf, modf_to_index(), NB_VALUE_NOISE, and Freestyle::x.
Referenced by turbulenceLinear().
Definition at line 60 of file PseudoNoise.cpp.
References _values, i, Freestyle::LanczosWindowed(), modf, modf_to_index(), NB_VALUE_NOISE, UNLIKELY, and Freestyle::x.
Referenced by turbulenceSmooth().
Definition at line 95 of file PseudoNoise.cpp.
References i, linearNoise(), Freestyle::x, and y.
Referenced by Freestyle::SpatialNoiseShader::shade().
Definition at line 84 of file PseudoNoise.cpp.
References i, smoothNoise(), Freestyle::x, and y.
Referenced by Freestyle::SpatialNoiseShader::shade(), Freestyle::StrokeShaders::ColorNoiseShader::shade(), and Freestyle::StrokeShaders::ThicknessNoiseShader::shade().
|
staticprotected |
Definition at line 32 of file PseudoNoise.h.
Referenced by init(), linearNoise(), and smoothNoise().
|
staticprotected |
Definition at line 31 of file PseudoNoise.h.
Referenced by init(), linearNoise(), and smoothNoise().