Blender  V2.93
Functions
BLI_noise.h File Reference

Go to the source code of this file.

Functions

float BLI_noise_hnoise (float noisesize, float x, float y, float z)
 
float BLI_noise_hnoisep (float noisesize, float x, float y, float z)
 
float BLI_noise_turbulence (float noisesize, float x, float y, float z, int nr)
 
float BLI_noise_generic_noise (float noisesize, float x, float y, float z, bool hard, int noisebasis)
 
float BLI_noise_generic_turbulence (float noisesize, float x, float y, float z, int oct, bool hard, int noisebasis)
 
float BLI_noise_mg_fbm (float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis)
 
float BLI_noise_mg_multi_fractal (float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis)
 
float BLI_noise_mg_variable_lacunarity (float x, float y, float z, float distortion, int nbas1, int nbas2)
 
float BLI_noise_mg_hetero_terrain (float x, float y, float z, float H, float lacunarity, float octaves, float offset, int noisebasis)
 
float BLI_noise_mg_hybrid_multi_fractal (float x, float y, float z, float H, float lacunarity, float octaves, float offset, float gain, int noisebasis)
 
float BLI_noise_mg_ridged_multi_fractal (float x, float y, float z, float H, float lacunarity, float octaves, float offset, float gain, int noisebasis)
 
void BLI_noise_voronoi (float x, float y, float z, float *da, float *pa, float me, int dtype)
 
float BLI_noise_cell (float x, float y, float z)
 
void BLI_noise_cell_v3 (float x, float y, float z, float r_ca[3])
 

Function Documentation

◆ BLI_noise_cell()

float BLI_noise_cell ( float  x,
float  y,
float  z 
)

◆ BLI_noise_cell_v3()

void BLI_noise_cell_v3 ( float  x,
float  y,
float  z,
float  r_ca[3] 
)

Definition at line 1147 of file noise.c.

References floor(), HASHPNT, x, y, and z.

Referenced by voronoiTex().

◆ BLI_noise_generic_noise()

float BLI_noise_generic_noise ( float  noisesize,
float  x,
float  y,
float  z,
bool  hard,
int  noisebasis 
)

newnoise: generic noise function for use with different noisebasis.

Definition at line 1172 of file noise.c.

References BLI_cellNoiseU(), fabsf, float(), newPerlinU(), orgBlenderNoise(), orgPerlinNoiseU(), voronoi_Cr(), voronoi_F1(), voronoi_F1F2(), voronoi_F2(), voronoi_F3(), voronoi_F4(), x, y, and z.

Referenced by M_Noise_noise(), noise_vector(), stucci(), turb(), and wood_int().

◆ BLI_noise_generic_turbulence()

float BLI_noise_generic_turbulence ( float  noisesize,
float  x,
float  y,
float  z,
int  oct,
bool  hard,
int  noisebasis 
)

◆ BLI_noise_hnoise()

float BLI_noise_hnoise ( float  noisesize,
float  x,
float  y,
float  z 
)

Definition at line 439 of file noise.c.

References orgBlenderNoise(), x, y, and z.

Referenced by BLI_noise_turbulence().

◆ BLI_noise_hnoisep()

float BLI_noise_hnoisep ( float  noisesize,
float  x,
float  y,
float  z 
)

Definition at line 855 of file noise.c.

References noise3_perlin(), x, y, and z.

◆ BLI_noise_mg_fbm()

float BLI_noise_mg_fbm ( float  x,
float  y,
float  z,
float  H,
float  lacunarity,
float  octaves,
int  noisebasis 
)

◆ BLI_noise_mg_hetero_terrain()

float BLI_noise_mg_hetero_terrain ( float  x,
float  y,
float  z,
float  H,
float  lacunarity,
float  octaves,
float  offset,
int  noisebasis 
)

◆ BLI_noise_mg_hybrid_multi_fractal()

float BLI_noise_mg_hybrid_multi_fractal ( float  x,
float  y,
float  z,
float  H,
float  lacunarity,
float  octaves,
float  offset,
float  gain,
int  noisebasis 
)

◆ BLI_noise_mg_multi_fractal()

float BLI_noise_mg_multi_fractal ( float  x,
float  y,
float  z,
float  H,
float  lacunarity,
float  octaves,
int  noisebasis 
)

◆ BLI_noise_mg_ridged_multi_fractal()

float BLI_noise_mg_ridged_multi_fractal ( float  x,
float  y,
float  z,
float  H,
float  lacunarity,
float  octaves,
float  offset,
float  gain,
int  noisebasis 
)

◆ BLI_noise_mg_variable_lacunarity()

float BLI_noise_mg_variable_lacunarity ( float  x,
float  y,
float  z,
float  distortion,
int  nbas1,
int  nbas2 
)

◆ BLI_noise_turbulence()

float BLI_noise_turbulence ( float  noisesize,
float  x,
float  y,
float  z,
int  nr 
)

Definition at line 451 of file noise.c.

References BLI_noise_hnoise(), x, y, and z.

Referenced by fcm_noise_evaluate().

◆ BLI_noise_voronoi()

void BLI_noise_voronoi ( float  x,
float  y,
float  z,
float da,
float pa,
float  me,
int  dtype 
)