Classes | |
struct | RNG |
struct | Tex |
struct | TexResult |
Typedefs | |
typedef unsigned long long | r_uint64 |
typedef struct blender::Tex | Tex |
typedef struct blender::TexResult | TexResult |
Functions | |
float | noise3_perlin (float vec[3]) |
float | turbulence_perlin (float *point, float lofreq, float hifreq) |
float | turbulencep (float noisesize, float x, float y, float z, int nr) |
static float | grad (int hash, float x, float y, float z) |
static float | newPerlin (float x, float y, float z) |
static float | newPerlinU (float x, float y, float z) |
static float | orgBlenderNoise (float x, float y, float z) |
static float | orgBlenderNoiseS (float x, float y, float z) |
float | BLI_hnoise (float noisesize, float x, float y, float z) |
float | BLI_turbulence (float noisesize, float x, float y, float z, int nr) |
float | BLI_turbulence1 (float noisesize, float x, float y, float z, int nr) |
static float | orgPerlinNoise (float x, float y, float z) |
static float | orgPerlinNoiseU (float x, float y, float z) |
float | BLI_hnoisep (float noisesize, float x, float y, float z) |
static float | dist_Squared (float x, float y, float z, float e) |
static float | dist_Real (float x, float y, float z, float e) |
static float | dist_Manhattan (float x, float y, float z, float e) |
static float | dist_Chebychev (float x, float y, float z, float e) |
static float | dist_MinkovskyH (float x, float y, float z, float e) |
static float | dist_Minkovsky4 (float x, float y, float z, float e) |
static float | dist_Minkovsky (float x, float y, float z, float e) |
void | voronoi (float x, float y, float z, float *da, float *pa, float me, int dtype) |
static float | voronoi_F1 (float x, float y, float z) |
static float | voronoi_F2 (float x, float y, float z) |
static float | voronoi_F3 (float x, float y, float z) |
static float | voronoi_F4 (float x, float y, float z) |
static float | voronoi_F1F2 (float x, float y, float z) |
static float | voronoi_Cr (float x, float y, float z) |
static float | voronoi_F1S (float x, float y, float z) |
static float | voronoi_F2S (float x, float y, float z) |
static float | voronoi_F3S (float x, float y, float z) |
static float | voronoi_F4S (float x, float y, float z) |
static float | voronoi_F1F2S (float x, float y, float z) |
static float | voronoi_CrS (float x, float y, float z) |
static float | cellNoiseU (float x, float y, float z) |
float | cellNoise (float x, float y, float z) |
void | cellNoiseV (float x, float y, float z, float *ca) |
float | BLI_gNoise (float noisesize, float x, float y, float z, int hard, int noisebasis) |
float | BLI_gTurbulence (float noisesize, float x, float y, float z, int oct, int hard, int noisebasis) |
float | mg_fBm (float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis) |
float | mg_MultiFractal (float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis) |
float | mg_HeteroTerrain (float x, float y, float z, float H, float lacunarity, float octaves, float offset, int noisebasis) |
float | mg_HybridMultiFractal (float x, float y, float z, float H, float lacunarity, float octaves, float offset, float gain, int noisebasis) |
float | mg_RidgedMultiFractal (float x, float y, float z, float H, float lacunarity, float octaves, float offset, float gain, int noisebasis) |
float | mg_VLNoise (float x, float y, float z, float distortion, int nbas1, int nbas2) |
int | rng_getInt (RNG *rng) |
int | BLI_rand (void) |
static int | blend (const Tex *tex, const float *texvec, TexResult *texres) |
static int | clouds (const Tex *tex, const float *texvec, TexResult *texres) |
static float | tex_sin (float a) |
static float | tex_saw (float a) |
static float | tex_tri (float a) |
static float | wood_int (const Tex *tex, float x, float y, float z) |
static int | wood (const Tex *tex, const float *texvec, TexResult *texres) |
static float | marble_int (const Tex *tex, float x, float y, float z) |
static int | marble (const Tex *tex, const float *texvec, TexResult *texres) |
static int | magic (const Tex *tex, const float *texvec, TexResult *texres) |
static int | stucci (const Tex *tex, const float *texvec, TexResult *texres) |
static float | mg_mFractalOrfBmTex (const Tex *tex, const float *texvec, TexResult *texres) |
static float | mg_ridgedOrHybridMFTex (const Tex *tex, const float *texvec, TexResult *texres) |
static float | mg_HTerrainTex (const Tex *tex, const float *texvec, TexResult *texres) |
static float | mg_distNoiseTex (const Tex *tex, const float *texvec, TexResult *texres) |
static float | voronoiTex (const Tex *tex, const float *texvec, TexResult *texres) |
static int | texnoise (const Tex *tex, TexResult *texres) |
int | multitex (const Tex *tex, const float *texvec, TexResult *texres) |
void | VecMulf (float *v1, float f) |
Variables | |
static float | hashpntf [768] |
unsigned char | hash [512] |
float | hashvectf [768] |
static char | p [512+2] |
float | g [512+2][3] |
static RNG | theBLI_rng = {0} |
typedef unsigned long long blender::r_uint64 |
Definition at line 40 of file blender_texlib.cpp.
typedef struct blender::Tex blender::Tex |
typedef struct blender::TexResult blender::TexResult |
static int blender::blend | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 63 of file blender_texlib.cpp.
References BRICONT, blender::Tex::flag, M_PI, cimg_library::sqrt(), blender::Tex::stype, TEX_DIAG, TEX_EASE, TEX_FLIPBLEND, TEX_HALO, TEX_INT, TEX_LIN, TEX_QUAD, TEX_RAD, and blender::TexResult::tin.
float blender::BLI_gNoise | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z, | |||
int | hard, | |||
int | noisebasis | |||
) |
Referenced by stucci(), and wood_int().
float blender::BLI_gTurbulence | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z, | |||
int | oct, | |||
int | hard, | |||
int | noisebasis | |||
) |
Referenced by clouds(), and marble_int().
float blender::BLI_hnoise | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z | |||
) |
float blender::BLI_hnoisep | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z | |||
) |
int blender::BLI_rand | ( | void | ) |
Definition at line 57 of file blender_texlib.cpp.
References rng_getInt(), and theBLI_rng.
Referenced by texnoise().
float blender::BLI_turbulence | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z, | |||
int | nr | |||
) |
float blender::BLI_turbulence1 | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z, | |||
int | nr | |||
) |
float blender::cellNoise | ( | float | x, | |
float | y, | |||
float | z | |||
) |
static float blender::cellNoiseU | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1258 of file blender_noiselib.cpp.
void blender::cellNoiseV | ( | float | x, | |
float | y, | |||
float | z, | |||
float * | ca | |||
) |
Referenced by voronoiTex().
static int blender::clouds | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 108 of file blender_texlib.cpp.
References BLI_gTurbulence(), BRICONT, BRICONTRGB, blender::Tex::noisebasis, blender::Tex::noisedepth, blender::Tex::noisesize, blender::Tex::noisetype, blender::Tex::stype, blender::TexResult::ta, blender::TexResult::tb, TEX_COLOR, TEX_INT, TEX_NOISESOFT, TEX_RGB, blender::TexResult::tg, blender::TexResult::tin, and blender::TexResult::tr.
static float blender::dist_Chebychev | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1054 of file blender_noiselib.cpp.
static float blender::dist_Manhattan | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1052 of file blender_noiselib.cpp.
static float blender::dist_Minkovsky | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1081 of file blender_noiselib.cpp.
static float blender::dist_Minkovsky4 | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1072 of file blender_noiselib.cpp.
References cimg_library::sqrt().
static float blender::dist_MinkovskyH | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1065 of file blender_noiselib.cpp.
References cimg_library::sqrt().
static float blender::dist_Real | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1050 of file blender_noiselib.cpp.
References cimg_library::sqrt().
static float blender::dist_Squared | ( | float | x, | |
float | y, | |||
float | z, | |||
float | e | |||
) | [static] |
Definition at line 1048 of file blender_noiselib.cpp.
static float blender::grad | ( | int | hash, | |
float | x, | |||
float | y, | |||
float | z | |||
) | [static] |
Definition at line 207 of file blender_noiselib.cpp.
Referenced by newPerlin().
static int blender::magic | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 237 of file blender_texlib.cpp.
References BRICONTRGB, cimg_library::cos(), blender::Tex::noisedepth, cimg_library::sin(), blender::TexResult::ta, blender::TexResult::tb, TEX_RGB, blender::TexResult::tg, blender::TexResult::tin, blender::TexResult::tr, and blender::Tex::turbul.
static int blender::marble | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 225 of file blender_texlib.cpp.
References BRICONT, marble_int(), TEX_INT, and blender::TexResult::tin.
Referenced by lux::MarbleTexture::Evaluate().
static float blender::marble_int | ( | const Tex * | tex, | |
float | x, | |||
float | y, | |||
float | z | |||
) | [static] |
Definition at line 196 of file blender_texlib.cpp.
References BLI_gTurbulence(), blender::Tex::noisebasis, blender::Tex::noisebasis2, blender::Tex::noisedepth, blender::Tex::noisesize, blender::Tex::noisetype, cimg_library::sqrt(), blender::Tex::stype, TEX_NOISESOFT, tex_saw(), TEX_SHARP, TEX_SHARPER, TEX_SIN, tex_sin(), TEX_SOFT, TEX_TRI, tex_tri(), and blender::Tex::turbul.
Referenced by marble().
static float blender::mg_distNoiseTex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 383 of file blender_texlib.cpp.
References BRICONT, blender::Tex::dist_amount, mg_VLNoise(), blender::Tex::noisebasis, blender::Tex::noisebasis2, TEX_INT, and blender::TexResult::tin.
float blender::mg_fBm | ( | float | x, | |
float | y, | |||
float | z, | |||
float | H, | |||
float | lacunarity, | |||
float | octaves, | |||
int | noisebasis | |||
) |
Referenced by mg_mFractalOrfBmTex().
float blender::mg_HeteroTerrain | ( | float | x, | |
float | y, | |||
float | z, | |||
float | H, | |||
float | lacunarity, | |||
float | octaves, | |||
float | offset, | |||
int | noisebasis | |||
) |
Referenced by mg_HTerrainTex().
static float blender::mg_HTerrainTex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 372 of file blender_texlib.cpp.
References BRICONT, blender::Tex::mg_H, mg_HeteroTerrain(), blender::Tex::mg_lacunarity, blender::Tex::mg_octaves, blender::Tex::mg_offset, blender::Tex::noisebasis, blender::Tex::ns_outscale, TEX_INT, and blender::TexResult::tin.
float blender::mg_HybridMultiFractal | ( | float | x, | |
float | y, | |||
float | z, | |||
float | H, | |||
float | lacunarity, | |||
float | octaves, | |||
float | offset, | |||
float | gain, | |||
int | noisebasis | |||
) |
Referenced by mg_ridgedOrHybridMFTex().
static float blender::mg_mFractalOrfBmTex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 340 of file blender_texlib.cpp.
References BRICONT, mg_fBm(), blender::Tex::mg_H, blender::Tex::mg_lacunarity, mg_MultiFractal(), blender::Tex::mg_octaves, blender::Tex::noisebasis, blender::Tex::ns_outscale, blender::Tex::stype, TEX_INT, TEX_MFRACTAL, and blender::TexResult::tin.
float blender::mg_MultiFractal | ( | float | x, | |
float | y, | |||
float | z, | |||
float | H, | |||
float | lacunarity, | |||
float | octaves, | |||
int | noisebasis | |||
) |
Referenced by mg_mFractalOrfBmTex().
float blender::mg_RidgedMultiFractal | ( | float | x, | |
float | y, | |||
float | z, | |||
float | H, | |||
float | lacunarity, | |||
float | octaves, | |||
float | offset, | |||
float | gain, | |||
int | noisebasis | |||
) |
Referenced by mg_ridgedOrHybridMFTex().
static float blender::mg_ridgedOrHybridMFTex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 356 of file blender_texlib.cpp.
References BRICONT, blender::Tex::mg_gain, blender::Tex::mg_H, mg_HybridMultiFractal(), blender::Tex::mg_lacunarity, blender::Tex::mg_octaves, blender::Tex::mg_offset, mg_RidgedMultiFractal(), blender::Tex::noisebasis, blender::Tex::ns_outscale, blender::Tex::stype, TEX_INT, TEX_RIDGEDMF, and blender::TexResult::tin.
float blender::mg_VLNoise | ( | float | x, | |
float | y, | |||
float | z, | |||
float | distortion, | |||
int | nbas1, | |||
int | nbas2 | |||
) |
Referenced by mg_distNoiseTex().
int blender::multitex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) |
Referenced by lux::BlenderWoodTexture3D< T >::Evaluate(), lux::BlenderVoronoiTexture3D< T >::Evaluate(), lux::BlenderStucciTexture3D< T >::Evaluate(), lux::BlenderNoiseTexture3D< T >::Evaluate(), lux::BlenderMusgraveTexture3D< T >::Evaluate(), lux::BlenderMarbleTexture3D< T >::Evaluate(), lux::BlenderMagicTexture3D< T >::Evaluate(), lux::BlenderDistortedNoiseTexture3D< T >::Evaluate(), lux::BlenderCloudsTexture3D< T >::Evaluate(), and lux::BlenderBlendTexture3D< T >::Evaluate().
static float blender::newPerlin | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 216 of file blender_noiselib.cpp.
References grad(), hash, lerp, and npfade.
Referenced by newPerlinU().
static float blender::newPerlinU | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 240 of file blender_noiselib.cpp.
References newPerlin().
float blender::noise3_perlin | ( | float | vec[3] | ) |
Definition at line 915 of file blender_noiselib.cpp.
References at, g, lerp, p, setup, and surve.
Referenced by orgPerlinNoise(), orgPerlinNoiseU(), and turbulence_perlin().
static float blender::orgBlenderNoise | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 251 of file blender_noiselib.cpp.
References hash, and hashvectf.
Referenced by orgBlenderNoiseS().
static float blender::orgBlenderNoiseS | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 321 of file blender_noiselib.cpp.
References orgBlenderNoise().
static float blender::orgPerlinNoise | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 995 of file blender_noiselib.cpp.
References noise3_perlin().
static float blender::orgPerlinNoiseU | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1006 of file blender_noiselib.cpp.
References noise3_perlin().
int blender::rng_getInt | ( | RNG * | rng | ) |
Definition at line 52 of file blender_texlib.cpp.
References RNG_ADDEND, RNG_MASK, RNG_MULTIPLIER, and blender::RNG::X.
Referenced by BLI_rand().
static int blender::stucci | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 312 of file blender_texlib.cpp.
References BLI_gNoise(), blender::Tex::noisebasis, blender::Tex::noisesize, blender::Tex::noisetype, blender::Tex::stype, TEX_INT, TEX_NOISESOFT, TEX_WALLOUT, blender::TexResult::tin, and blender::Tex::turbul.
static float blender::tex_saw | ( | float | a | ) | [static] |
Definition at line 138 of file blender_texlib.cpp.
References M_PI.
Referenced by marble_int(), and wood_int().
static float blender::tex_sin | ( | float | a | ) | [static] |
Definition at line 131 of file blender_texlib.cpp.
References cimg_library::sin().
Referenced by marble_int(), and wood_int().
static float blender::tex_tri | ( | float | a | ) | [static] |
Definition at line 148 of file blender_texlib.cpp.
References M_PI.
Referenced by marble_int(), and wood_int().
static int blender::texnoise | ( | const Tex * | tex, | |
TexResult * | texres | |||
) | [static] |
Definition at line 458 of file blender_texlib.cpp.
References BLI_rand(), BRICONT, cimg_library::div(), blender::Tex::noisedepth, TEX_INT, and blender::TexResult::tin.
float blender::turbulence_perlin | ( | float * | point, | |
float | lofreq, | |||
float | hifreq | |||
) |
Definition at line 976 of file blender_noiselib.cpp.
References noise3_perlin(), and p.
Referenced by turbulencep().
float blender::turbulencep | ( | float | noisesize, | |
float | x, | |||
float | y, | |||
float | z, | |||
int | nr | |||
) |
Definition at line 1029 of file blender_noiselib.cpp.
References turbulence_perlin().
void blender::VecMulf | ( | float * | v1, | |
float | f | |||
) | [inline] |
Definition at line 46 of file blender_texlib.h.
void blender::voronoi | ( | float | x, | |
float | y, | |||
float | z, | |||
float * | da, | |||
float * | pa, | |||
float | me, | |||
int | dtype | |||
) |
Referenced by voronoi_F1(), voronoi_F1F2(), voronoi_F1F2S(), voronoi_F1S(), voronoi_F2(), voronoi_F2S(), voronoi_F3(), voronoi_F3S(), voronoi_F4(), voronoi_F4S(), and voronoiTex().
static float blender::voronoi_Cr | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1195 of file blender_noiselib.cpp.
References voronoi_F1F2().
static float blender::voronoi_CrS | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1241 of file blender_noiselib.cpp.
References voronoi_F1F2().
static float blender::voronoi_F1 | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1159 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F1F2 | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1187 of file blender_noiselib.cpp.
References voronoi().
Referenced by voronoi_Cr(), and voronoi_CrS().
static float blender::voronoi_F1F2S | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1233 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F1S | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1205 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F2 | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1166 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F2S | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1212 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F3 | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1173 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F3S | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1219 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F4 | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1180 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoi_F4S | ( | float | x, | |
float | y, | |||
float | z | |||
) | [static] |
Definition at line 1226 of file blender_noiselib.cpp.
References voronoi().
static float blender::voronoiTex | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 398 of file blender_texlib.cpp.
References BRICONT, BRICONTRGB, cellNoiseV(), blender::Tex::ns_outscale, blender::TexResult::ta, blender::TexResult::tb, TEX_INT, TEX_RGB, blender::TexResult::tg, blender::TexResult::tin, blender::TexResult::tr, blender::Tex::vn_coltype, blender::Tex::vn_distm, blender::Tex::vn_mexp, blender::Tex::vn_w1, blender::Tex::vn_w2, blender::Tex::vn_w3, blender::Tex::vn_w4, and voronoi().
static int blender::wood | ( | const Tex * | tex, | |
const float * | texvec, | |||
TexResult * | texres | |||
) | [static] |
Definition at line 185 of file blender_texlib.cpp.
References BRICONT, TEX_INT, blender::TexResult::tin, and wood_int().
static float blender::wood_int | ( | const Tex * | tex, | |
float | x, | |||
float | y, | |||
float | z | |||
) | [static] |
Definition at line 158 of file blender_texlib.cpp.
References BLI_gNoise(), blender::Tex::noisebasis, blender::Tex::noisebasis2, blender::Tex::noisesize, blender::Tex::noisetype, cimg_library::sqrt(), blender::Tex::stype, TEX_BAND, TEX_BANDNOISE, TEX_NOISESOFT, TEX_RING, TEX_RINGNOISE, tex_saw(), TEX_SIN, tex_sin(), TEX_TRI, tex_tri(), and blender::Tex::turbul.
Referenced by wood().
float blender::g[512+2][3] |
Definition at line 386 of file blender_noiselib.cpp.
Referenced by lux::Sample::AddContribution(), BestCandidate2D(), lux::AreaLight::CreateAreaLight(), lux::SpotLight::CreateLight(), lux::PointLight::CreateLight(), lux::DistantLight::CreateLight(), cimg_library::CImg< T >::det(), cimg_library::CImg< T >::get_default_LUT8(), cimg_library::CImg< T >::get_logo40x38(), lux::RGBIllumSPD::init(), lux::Sphere::Intersect(), lux::Paraboloid::Intersect(), lux::Hyperboloid::Intersect(), lux::Cylinder::Intersect(), lux::Cone::Intersect(), lux::inverse(), cimg_library::CImg< T >::inverse(), lux::ParticleTracingIntegrator::Li(), main(), noise3_perlin(), lux::PowerHeuristic(), Redistribute2D(), cimg_library::CImg< T >::save_off(), cimg_library::CImg< T >::SVD(), and lux::SWCSpectrum::SWCSpectrum().
unsigned char blender::hash[512] |
{ 0xA2,0xA0,0x19,0x3B,0xF8,0xEB,0xAA,0xEE,0xF3,0x1C,0x67,0x28,0x1D,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,0xE8,0x43,0x3D,0x70,0xB7,0x2,0x7D,0x99,0xD8,0xD,0x60,0x8A,0x4,0x2C,0x3E,0x92,0xE5,0xAF,0x53,0x7,0xE0,0x29,0xA6,0xC5,0xE3,0xF5,0xF7,0x4A,0x41,0x26,0x6A,0x16,0x5E,0x52,0x2D,0x21,0xAD,0xF0,0x91,0xFF,0xEA,0x54,0xFA,0x66,0x1A,0x45,0x39,0xCF,0x75,0xA4,0x88,0xFB,0x5D, }
Definition at line 161 of file blender_noiselib.cpp.
Referenced by lux::DJBHash(), newPerlin(), orgBlenderNoise(), and lux::NetworkRenderServerThread::run().
float blender::hashpntf[768] [static] |
Definition at line 50 of file blender_noiselib.cpp.
float blender::hashvectf[768] |
{ 0.33783,0.715698,-0.611206,-0.944031,-0.326599,-0.045624,-0.101074,-0.416443,-0.903503,0.799286,0.49411,-0.341949,-0.854645,0.518036,0.033936,0.42514,-0.437866,-0.792114,-0.358948,0.597046,0.717377,-0.985413,0.144714,0.089294,-0.601776,-0.33728,-0.723907,-0.449921,0.594513,0.666382,0.208313,-0.10791, 0.972076,0.575317,0.060425,0.815643,0.293365,-0.875702,-0.383453,0.293762,0.465759,0.834686,-0.846008,-0.233398,-0.47934,-0.115814,0.143036,-0.98291,0.204681,-0.949036,-0.239532,0.946716,-0.263947,0.184326,-0.235596,0.573822,0.784332,0.203705,-0.372253,-0.905487,0.756989,-0.651031,0.055298,0.497803, 0.814697,-0.297363,-0.16214,0.063995,-0.98468,-0.329254,0.834381,0.441925,0.703827,-0.527039,-0.476227,0.956421,0.266113,0.119781,0.480133,0.482849,0.7323,-0.18631,0.961212,-0.203125,-0.748474,-0.656921,-0.090393,-0.085052,-0.165253,0.982544,-0.76947,0.628174,-0.115234,0.383148,0.537659,0.751068, 0.616486,-0.668488,-0.415924,-0.259979,-0.630005,0.73175,0.570953,-0.087952,0.816223,-0.458008,0.023254,0.888611,-0.196167,0.976563,-0.088287,-0.263885,-0.69812,-0.665527,0.437134,-0.892273,-0.112793,-0.621674,-0.230438,0.748566,0.232422,0.900574,-0.367249,0.22229,-0.796143,0.562744,-0.665497,-0.73764, 0.11377,0.670135,0.704803,0.232605,0.895599,0.429749,-0.114655,-0.11557,-0.474243,0.872742,0.621826,0.604004,-0.498444,-0.832214,0.012756,0.55426,-0.702484,0.705994,-0.089661,-0.692017,0.649292,0.315399,-0.175995,-0.977997,0.111877,0.096954,-0.04953,0.994019,0.635284,-0.606689,-0.477783,-0.261261, -0.607422,-0.750153,0.983276,0.165436,0.075958,-0.29837,0.404083,-0.864655,-0.638672,0.507721,0.578156,0.388214,0.412079,0.824249,0.556183,-0.208832,0.804352,0.778442,0.562012,0.27951,-0.616577,0.781921,-0.091522,0.196289,0.051056,0.979187,-0.121216,0.207153,-0.970734,-0.173401,-0.384735,0.906555, 0.161499,-0.723236,-0.671387,0.178497,-0.006226,-0.983887,-0.126038,0.15799,0.97934,0.830475,-0.024811,0.556458,-0.510132,-0.76944,0.384247,0.81424,0.200104,-0.544891,-0.112549,-0.393311,-0.912445,0.56189,0.152222,-0.813049,0.198914,-0.254517,-0.946381,-0.41217,0.690979,-0.593811,-0.407257,0.324524, 0.853668,-0.690186,0.366119,-0.624115,-0.428345,0.844147,-0.322296,-0.21228,-0.297546,-0.930756,-0.273071,0.516113,0.811798,0.928314,0.371643,0.007233,0.785828,-0.479218,-0.390778,-0.704895,0.058929,0.706818,0.173248,0.203583,0.963562,0.422211,-0.904297,-0.062469,-0.363312,-0.182465,0.913605,0.254028, -0.552307,-0.793945,-0.28891,-0.765747,-0.574554,0.058319,0.291382,0.954803,0.946136,-0.303925,0.111267,-0.078156,0.443695,-0.892731,0.182098,0.89389,0.409515,-0.680298,-0.213318,0.701141,0.062469,0.848389,-0.525635,-0.72879,-0.641846,0.238342,-0.88089,0.427673,0.202637,-0.532501,-0.21405,0.818878, 0.948975,-0.305084,0.07962,0.925446,0.374664,0.055817,0.820923,0.565491,0.079102,0.25882,0.099792,-0.960724,-0.294617,0.910522,0.289978,0.137115,0.320038,-0.937408,-0.908386,0.345276,-0.235718,-0.936218,0.138763,0.322754,0.366577,0.925934,-0.090637,0.309296,-0.686829,-0.657684,0.66983,0.024445, 0.742065,-0.917999,-0.059113,-0.392059,0.365509,0.462158,-0.807922,0.083374,0.996399,-0.014801,0.593842,0.253143,-0.763672,0.974976,-0.165466,0.148285,0.918976,0.137299,0.369537,0.294952,0.694977,0.655731,0.943085,0.152618,-0.295319,0.58783,-0.598236,0.544495,0.203796,0.678223,0.705994,-0.478821, -0.661011,0.577667,0.719055,-0.1698,-0.673828,-0.132172,-0.965332,0.225006,-0.981873,-0.14502,0.121979,0.763458,0.579742,0.284546,-0.893188,0.079681,0.442474,-0.795776,-0.523804,0.303802,0.734955,0.67804,-0.007446,0.15506,0.986267,-0.056183,0.258026,0.571503,-0.778931,-0.681549,-0.702087,-0.206116, -0.96286,-0.177185,0.203613,-0.470978,-0.515106,0.716095,-0.740326,0.57135,0.354095,-0.56012,-0.824982,-0.074982,-0.507874,0.753204,0.417969,-0.503113,0.038147,0.863342,0.594025,0.673553,-0.439758,-0.119873,-0.005524,-0.992737,0.098267,-0.213776,0.971893,-0.615631,0.643951,0.454163,0.896851,-0.441071, 0.032166,-0.555023,0.750763,-0.358093,0.398773,0.304688,0.864929,-0.722961,0.303589,0.620544,-0.63559,-0.621948,-0.457306,-0.293243,0.072327,0.953278,-0.491638,0.661041,-0.566772,-0.304199,-0.572083,-0.761688,0.908081,-0.398956,0.127014,-0.523621,-0.549683,-0.650848,-0.932922,-0.19986,0.299408,0.099426, 0.140869,0.984985,-0.020325,-0.999756,-0.002319,0.952667,0.280853,-0.11615,-0.971893,0.082581,0.220337,0.65921,0.705292,-0.260651,0.733063,-0.175537,0.657043,-0.555206,0.429504,-0.712189,0.400421,-0.89859,0.179352,0.750885,-0.19696,0.630341,0.785675,-0.569336,0.241821,-0.058899,-0.464111,0.883789, 0.129608,-0.94519,0.299622,-0.357819,0.907654,0.219238,-0.842133,-0.439117,-0.312927,-0.313477,0.84433,0.434479,-0.241211,0.053253,0.968994,0.063873,0.823273,0.563965,0.476288,0.862152,-0.172516,0.620941,-0.298126,0.724915,0.25238,-0.749359,-0.612122,-0.577545,0.386566,0.718994,-0.406342,-0.737976, 0.538696,0.04718,0.556305,0.82959,-0.802856,0.587463,0.101166,-0.707733,-0.705963,0.026428,0.374908,0.68457,0.625092,0.472137,0.208405,-0.856506,-0.703064,-0.581085,-0.409821,-0.417206,-0.736328,0.532623,-0.447876,-0.20285,-0.870728,0.086945,-0.990417,0.107086,0.183685,0.018341,-0.982788,0.560638, -0.428864,0.708282,0.296722,-0.952576,-0.0672,0.135773,0.990265,0.030243,-0.068787,0.654724,0.752686,0.762604,-0.551758,0.337585,-0.819611,-0.407684,0.402466,-0.727844,-0.55072,-0.408539,-0.855774,-0.480011,0.19281,0.693176,-0.079285,0.716339,0.226013,0.650116,-0.725433,0.246704,0.953369,-0.173553, -0.970398,-0.239227,-0.03244,0.136383,-0.394318,0.908752,0.813232,0.558167,0.164368,0.40451,0.549042,-0.731323,-0.380249,-0.566711,0.730865,0.022156,0.932739,0.359741,0.00824,0.996552,-0.082306,0.956635,-0.065338,-0.283722,-0.743561,0.008209,0.668579,-0.859589,-0.509674,0.035767,-0.852234,0.363678, -0.375977,-0.201965,-0.970795,-0.12915,0.313477,0.947327,0.06546,-0.254028,-0.528259,0.81015,0.628052,0.601105,0.49411,-0.494385,0.868378,0.037933,0.275635,-0.086426,0.957336,-0.197937,0.468903,-0.860748,0.895599,0.399384,0.195801,0.560791,0.825012,-0.069214,0.304199,-0.849487,0.43103,0.096375, 0.93576,0.339111,-0.051422,0.408966,-0.911072,0.330444,0.942841,-0.042389,-0.452362,-0.786407,0.420563,0.134308,-0.933472,-0.332489,0.80191,-0.566711,-0.188934,-0.987946,-0.105988,0.112518,-0.24408,0.892242,-0.379791,-0.920502,0.229095,-0.316376,0.7789,0.325958,0.535706,-0.912872,0.185211,-0.36377, -0.184784,0.565369,-0.803833,-0.018463,0.119537,0.992615,-0.259247,-0.935608,0.239532,-0.82373,-0.449127,-0.345947,-0.433105,0.659515,0.614349,-0.822754,0.378845,-0.423676,0.687195,-0.674835,-0.26889,-0.246582,-0.800842,0.545715,-0.729187,-0.207794,0.651978,0.653534,-0.610443,-0.447388,0.492584,-0.023346, 0.869934,0.609039,0.009094,-0.79306,0.962494,-0.271088,-0.00885,0.2659,-0.004913,0.963959,0.651245,0.553619,-0.518951,0.280548,-0.84314,0.458618,-0.175293,-0.983215,0.049805,0.035339,-0.979919,0.196045,-0.982941,0.164307,-0.082245,0.233734,-0.97226,-0.005005,-0.747253,-0.611328,0.260437,0.645599, 0.592773,0.481384,0.117706,-0.949524,-0.29068,-0.535004,-0.791901,-0.294312,-0.627167,-0.214447,0.748718,-0.047974,-0.813477,-0.57959,-0.175537,0.477264,-0.860992,0.738556,-0.414246,-0.53183,0.562561,-0.704071,0.433289,-0.754944,0.64801,-0.100586,0.114716,0.044525,-0.992371,0.966003,0.244873,-0.082764, }
Definition at line 173 of file blender_noiselib.cpp.
Referenced by orgBlenderNoise().
char blender::p[512+2] [static] |
{ 0xA2,0xA0,0x19,0x3B,0xF8,0xEB,0xAA,0xEE,0xF3,0x1C,0x67,0x28,0x1D,0xED,0x0,0xDE,0x95,0x2E,0xDC,0x3F,0x3A,0x82,0x35,0x4D,0x6C,0xBA,0x36,0xD0,0xF6,0xC,0x79,0x32,0xD1,0x59,0xF4,0x8,0x8B,0x63,0x89,0x2F,0xB8,0xB4,0x97,0x83,0xF2,0x8F,0x18,0xC7,0x51,0x14,0x65,0x87,0x48,0x20,0x42,0xA8,0x80,0xB5,0x40,0x13,0xB2,0x22,0x7E,0x57, 0xBC,0x7F,0x6B,0x9D,0x86,0x4C,0xC8,0xDB,0x7C,0xD5,0x25,0x4E,0x5A,0x55,0x74,0x50,0xCD,0xB3,0x7A,0xBB,0xC3,0xCB,0xB6,0xE2,0xE4,0xEC,0xFD,0x98,0xB,0x96,0xD3,0x9E,0x5C,0xA1,0x64,0xF1,0x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0x86,0x4C,0xC8,0xDB,0x7C,0xD5,0x25,0x4E,0x5A,0x55,0x74,0x50,0xCD,0xB3,0x7A,0xBB,0xC3,0xCB,0xB6,0xE2,0xE4,0xEC,0xFD,0x98,0xB,0x96,0xD3,0x9E,0x5C,0xA1,0x64,0xF1,0x81,0x61,0xE1,0xC4,0x24,0x72,0x49,0x8C,0x90,0x4B,0x84,0x34,0x38,0xAB,0x78,0xCA,0x1F,0x1,0xD7,0x93,0x11,0xC1,0x58,0xA9,0x31,0xF9,0x44,0x6D, 0xBF,0x33,0x9C,0x5F,0x9,0x94,0xA3,0x85,0x6,0xC6,0x9A,0x1E,0x7B,0x46,0x15,0x30,0x27,0x2B,0x1B,0x71,0x3C,0x5B,0xD6,0x6F,0x62,0xAC,0x4F,0xC2,0xC0,0xE,0xB1,0x23,0xA7,0xDF,0x47,0xB0,0x77,0x69,0x5,0xE9,0xE6,0xE7,0x76,0x73,0xF,0xFE,0x6E,0x9B,0x56,0xEF,0x12,0xA5,0x37,0xFC,0xAE,0xD9,0x3,0x8E,0xDD,0x10,0xB9,0xCE,0xC9,0x8D, 0xDA,0x2A,0xBD,0x68,0x17,0x9F,0xBE,0xD4,0xA,0xCC,0xD2,0xE8,0x43,0x3D,0x70,0xB7,0x2,0x7D,0x99,0xD8,0xD,0x60,0x8A,0x4,0x2C,0x3E,0x92,0xE5,0xAF,0x53,0x7,0xE0,0x29,0xA6,0xC5,0xE3,0xF5,0xF7,0x4A,0x41,0x26,0x6A,0x16,0x5E,0x52,0x2D,0x21,0xAD,0xF0,0x91,0xFF,0xEA,0x54,0xFA,0x66,0x1A,0x45,0x39,0xCF,0x75,0xA4,0x88,0xFB,0x5D, 0xA2,0xA0}
Definition at line 374 of file blender_noiselib.cpp.
Referenced by cimg_library::CImg< T >::_draw_polygon(), cimg_library::CImg< T >::_draw_spline(), lux::Voxel::AddPrimitive(), lux::IrregularSPD::calc_spline_data(), lux::ClosePhoton::ClosePhoton(), cimg_library::CImg< T >::draw_line(), cimg_library::CImg< T >::draw_point(), cimg_library::CImg< T >::draw_polygon(), cimg_library::CImg< T >::draw_spline(), cimg_library::CImg< T >::draw_text(), lux::EClosePhoton::EClosePhoton(), lux::BidirIntegrator::evalPath(), generateLightPath(), lux::BidirIntegrator::generatePath(), cimg_library::CImg< T >::get_permute(), lux::Voxel::Intersect(), lux::Voxel::IntersectP(), lux::WhittedIntegrator::Li(), lux::SingleScattering::Li(), lux::PhotonIntegrator::Li(), lux::Path2Integrator::Li(), lux::PathIntegrator::Li(), lux::ParticleTracingIntegrator::Li(), lux::MLTPathIntegrator::Li(), lux::IrradianceCache::Li(), lux::IGIIntegrator::Li(), lux::EmissionIntegrator::Li(), lux::BidirIntegrator::Li(), lux::ExPhotonIntegrator::LiInternal(), lux::DirectLighting::LiInternal(), lux::ExPhotonIntegrator::LPhoton(), main(), noise3_perlin(), lux::ParamSet::ParamSet(), lux::ExPhotonIntegrator::Preprocess(), lux::LuxGuiApp::ProcessCommandLine(), lux::KdTree< NodeData, LookupProc >::recursiveBuild(), lux::WaldTriangle::Sample(), lux::Sphere::Sample(), lux::Disk::Sample(), lux::Cylinder::Sample(), lux::BaryTriangle::Sample(), lux::SphericalPhi(), cimg_library::CImg< T >::SVD(), cimg_library::CImg< T >::symmetric_eigen(), turbulence_perlin(), and lux::BidirIntegrator::weightPath().
RNG blender::theBLI_rng = {0} [static] |
Definition at line 50 of file blender_texlib.cpp.
Referenced by BLI_rand().