Vuo
1.2.1
|
VuoGradientNoiseCommon implementation.
Functions | |
static VuoReal | grad1d (int hash, VuoReal x) |
Returns pseudo-random gradient value for given 1d point. | |
static VuoReal | grad2dPerlin (int hash, VuoReal x, VuoReal y) |
Returns pseudo-random gradient value for given 2d point for the Perlin algorithm. | |
static VuoReal | grad2dSimplex (int hash, VuoReal x, VuoReal y) |
Returns a pseudo-random gradient value for given 2d point for the Simplex algorithm. | |
static VuoReal | grad3d (int hash, VuoReal x, VuoReal y, VuoReal z) |
Returns pseudo-random gradient value for given 3d point. | |
static VuoReal | grad4dPerlin (int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal w) |
Returns pseudo-random gradient value for given 4d point for Perlin noise. | |
static VuoReal | grad4dSimplex (int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal t) |
Returns pseudo-random gradient value for given 4d point for Simplex noise. | |
static VuoReal | fade (VuoReal t) |
Returns the value of the fade function of t. | |
static VuoReal | lerp (VuoReal t, VuoReal a, VuoReal b) |
Performs and returns linear interpolation on t, a, and b. | |
VuoReal | VuoGradientNoise_perlin_VuoReal_VuoReal (VuoReal x) |
Returns the value for Perlin noise at a 1D location. | |
VuoPoint2d | VuoGradientNoise_perlin_VuoReal_VuoPoint2d (VuoReal x) |
Returns 2 values for Perlin noise at a 1D location. | |
VuoPoint3d | VuoGradientNoise_perlin_VuoReal_VuoPoint3d (VuoReal x) |
Returns 3 values for Perlin noise at a 1D location. | |
VuoPoint4d | VuoGradientNoise_perlin_VuoReal_VuoPoint4d (VuoReal x) |
Returns 4 values for Perlin noise at a 1D location. | |
VuoReal | VuoGradientNoise_perlin_VuoPoint2d_VuoReal (VuoPoint2d point) |
Returns the value for Perlin noise at a 2D location. | |
VuoPoint2d | VuoGradientNoise_perlin_VuoPoint2d_VuoPoint2d (VuoPoint2d point) |
Returns 2 values for Perlin noise at a 2D location. | |
VuoPoint3d | VuoGradientNoise_perlin_VuoPoint2d_VuoPoint3d (VuoPoint2d point) |
Returns 3 values for Perlin noise at a 2D location. | |
VuoPoint4d | VuoGradientNoise_perlin_VuoPoint2d_VuoPoint4d (VuoPoint2d point) |
Returns 4 values for Perlin noise at a 2D location. | |
VuoReal | VuoGradientNoise_perlin_VuoPoint3d_VuoReal (VuoPoint3d point) |
Returns the value for Perlin noise at a 3D location. | |
VuoPoint2d | VuoGradientNoise_perlin_VuoPoint3d_VuoPoint2d (VuoPoint3d point) |
Returns 2 values for Perlin noise at a 3D location. | |
VuoPoint3d | VuoGradientNoise_perlin_VuoPoint3d_VuoPoint3d (VuoPoint3d point) |
Returns 3 values for Perlin noise at a 3D location. | |
VuoPoint4d | VuoGradientNoise_perlin_VuoPoint3d_VuoPoint4d (VuoPoint3d point) |
Returns 4 values for Perlin noise at a 3D location. | |
VuoReal | VuoGradientNoise_perlin_VuoPoint4d_VuoReal (VuoPoint4d point) |
Returns the value for Perlin noise at a 4D location. | |
VuoPoint2d | VuoGradientNoise_perlin_VuoPoint4d_VuoPoint2d (VuoPoint4d point) |
Returns 2 values for Perlin noise at a 4D location. | |
VuoPoint3d | VuoGradientNoise_perlin_VuoPoint4d_VuoPoint3d (VuoPoint4d point) |
Returns 3 values for Perlin noise at a 4D location. | |
VuoPoint4d | VuoGradientNoise_perlin_VuoPoint4d_VuoPoint4d (VuoPoint4d point) |
Returns 4 values for Perlin noise at a 4D location. | |
VuoReal | VuoGradientNoise_simplex_VuoReal_VuoReal (VuoReal x) |
Returns the value for Simplex noise at a 1D location. | |
VuoPoint2d | VuoGradientNoise_simplex_VuoReal_VuoPoint2d (VuoReal x) |
Returns 2 values for Simplex noise at a 1D location. | |
VuoPoint3d | VuoGradientNoise_simplex_VuoReal_VuoPoint3d (VuoReal x) |
Returns 3 values for Simplex noise at a 1D location. | |
VuoPoint4d | VuoGradientNoise_simplex_VuoReal_VuoPoint4d (VuoReal x) |
Returns 4 values for Simplex noise at a 1D location. | |
VuoReal | VuoGradientNoise_simplex_VuoPoint2d_VuoReal (VuoPoint2d point) |
Returns the value for Simplex noise at a 2D location. | |
VuoPoint2d | VuoGradientNoise_simplex_VuoPoint2d_VuoPoint2d (VuoPoint2d point) |
Returns 2 values for Simplex noise at a 2D location. | |
VuoPoint3d | VuoGradientNoise_simplex_VuoPoint2d_VuoPoint3d (VuoPoint2d point) |
Returns 3 values for Simplex noise at a 2D location. | |
VuoPoint4d | VuoGradientNoise_simplex_VuoPoint2d_VuoPoint4d (VuoPoint2d point) |
Returns 4 values for Simplex noise at a 2D location. | |
VuoReal | VuoGradientNoise_simplex_VuoPoint3d_VuoReal (VuoPoint3d point) |
Returns the value for Simplex noise at a 3D location. | |
VuoPoint2d | VuoGradientNoise_simplex_VuoPoint3d_VuoPoint2d (VuoPoint3d point) |
Returns 2 values for Simplex noise at a 3D location. | |
VuoPoint3d | VuoGradientNoise_simplex_VuoPoint3d_VuoPoint3d (VuoPoint3d point) |
Returns 3 values for Simplex noise at a 3D location. | |
VuoPoint4d | VuoGradientNoise_simplex_VuoPoint3d_VuoPoint4d (VuoPoint3d point) |
Returns 4 values for Simplex noise at a 3D location. | |
VuoReal | VuoGradientNoise_simplex_VuoPoint4d_VuoReal (VuoPoint4d point) |
Returns the value for Simplex noise at a 4D location. | |
VuoPoint2d | VuoGradientNoise_simplex_VuoPoint4d_VuoPoint2d (VuoPoint4d point) |
Returns 2 values for Simplex noise at a 4D location. | |
VuoPoint3d | VuoGradientNoise_simplex_VuoPoint4d_VuoPoint3d (VuoPoint4d point) |
Returns 3 values for Simplex noise at a 4D location. | |
VuoPoint4d | VuoGradientNoise_simplex_VuoPoint4d_VuoPoint4d (VuoPoint4d point) |
Returns 4 values for Simplex noise at a 4D location. | |
Variables | |
static unsigned char | perm [] |
Perlin's shuffled ordering of 0..255, repeated once. | |
static unsigned char | simplex [64][4] |
Lookup table for simplex traversal. | |
Returns pseudo-random gradient value for given 1d point.
Returns pseudo-random gradient value for given 2d point for the Perlin algorithm.
Returns a pseudo-random gradient value for given 2d point for the Simplex algorithm.
Returns pseudo-random gradient value for given 3d point.
Returns pseudo-random gradient value for given 4d point for Perlin noise.
Returns pseudo-random gradient value for given 4d point for Simplex noise.
Performs and returns linear interpolation on t, a, and b.
VuoPoint2d VuoGradientNoise_perlin_VuoPoint2d_VuoPoint2d | ( | VuoPoint2d | point | ) |
Returns 2 values for Perlin noise at a 2D location.
VuoPoint3d VuoGradientNoise_perlin_VuoPoint2d_VuoPoint3d | ( | VuoPoint2d | point | ) |
Returns 3 values for Perlin noise at a 2D location.
VuoPoint4d VuoGradientNoise_perlin_VuoPoint2d_VuoPoint4d | ( | VuoPoint2d | point | ) |
Returns 4 values for Perlin noise at a 2D location.
VuoReal VuoGradientNoise_perlin_VuoPoint2d_VuoReal | ( | VuoPoint2d | point | ) |
Returns the value for Perlin noise at a 2D location.
VuoPoint2d VuoGradientNoise_perlin_VuoPoint3d_VuoPoint2d | ( | VuoPoint3d | point | ) |
Returns 2 values for Perlin noise at a 3D location.
VuoPoint3d VuoGradientNoise_perlin_VuoPoint3d_VuoPoint3d | ( | VuoPoint3d | point | ) |
Returns 3 values for Perlin noise at a 3D location.
VuoPoint4d VuoGradientNoise_perlin_VuoPoint3d_VuoPoint4d | ( | VuoPoint3d | point | ) |
Returns 4 values for Perlin noise at a 3D location.
VuoReal VuoGradientNoise_perlin_VuoPoint3d_VuoReal | ( | VuoPoint3d | point | ) |
Returns the value for Perlin noise at a 3D location.
VuoPoint2d VuoGradientNoise_perlin_VuoPoint4d_VuoPoint2d | ( | VuoPoint4d | point | ) |
Returns 2 values for Perlin noise at a 4D location.
VuoPoint3d VuoGradientNoise_perlin_VuoPoint4d_VuoPoint3d | ( | VuoPoint4d | point | ) |
Returns 3 values for Perlin noise at a 4D location.
VuoPoint4d VuoGradientNoise_perlin_VuoPoint4d_VuoPoint4d | ( | VuoPoint4d | point | ) |
Returns 4 values for Perlin noise at a 4D location.
VuoReal VuoGradientNoise_perlin_VuoPoint4d_VuoReal | ( | VuoPoint4d | point | ) |
Returns the value for Perlin noise at a 4D location.
VuoPoint2d VuoGradientNoise_perlin_VuoReal_VuoPoint2d | ( | VuoReal | x | ) |
Returns 2 values for Perlin noise at a 1D location.
VuoPoint3d VuoGradientNoise_perlin_VuoReal_VuoPoint3d | ( | VuoReal | x | ) |
Returns 3 values for Perlin noise at a 1D location.
VuoPoint4d VuoGradientNoise_perlin_VuoReal_VuoPoint4d | ( | VuoReal | x | ) |
Returns 4 values for Perlin noise at a 1D location.
Returns the value for Perlin noise at a 1D location.
VuoPoint2d VuoGradientNoise_simplex_VuoPoint2d_VuoPoint2d | ( | VuoPoint2d | point | ) |
Returns 2 values for Simplex noise at a 2D location.
VuoPoint3d VuoGradientNoise_simplex_VuoPoint2d_VuoPoint3d | ( | VuoPoint2d | point | ) |
Returns 3 values for Simplex noise at a 2D location.
VuoPoint4d VuoGradientNoise_simplex_VuoPoint2d_VuoPoint4d | ( | VuoPoint2d | point | ) |
Returns 4 values for Simplex noise at a 2D location.
VuoReal VuoGradientNoise_simplex_VuoPoint2d_VuoReal | ( | VuoPoint2d | point | ) |
Returns the value for Simplex noise at a 2D location.
VuoPoint2d VuoGradientNoise_simplex_VuoPoint3d_VuoPoint2d | ( | VuoPoint3d | point | ) |
Returns 2 values for Simplex noise at a 3D location.
VuoPoint3d VuoGradientNoise_simplex_VuoPoint3d_VuoPoint3d | ( | VuoPoint3d | point | ) |
Returns 3 values for Simplex noise at a 3D location.
VuoPoint4d VuoGradientNoise_simplex_VuoPoint3d_VuoPoint4d | ( | VuoPoint3d | point | ) |
Returns 4 values for Simplex noise at a 3D location.
VuoReal VuoGradientNoise_simplex_VuoPoint3d_VuoReal | ( | VuoPoint3d | point | ) |
Returns the value for Simplex noise at a 3D location.
VuoPoint2d VuoGradientNoise_simplex_VuoPoint4d_VuoPoint2d | ( | VuoPoint4d | point | ) |
Returns 2 values for Simplex noise at a 4D location.
VuoPoint3d VuoGradientNoise_simplex_VuoPoint4d_VuoPoint3d | ( | VuoPoint4d | point | ) |
Returns 3 values for Simplex noise at a 4D location.
VuoPoint4d VuoGradientNoise_simplex_VuoPoint4d_VuoPoint4d | ( | VuoPoint4d | point | ) |
Returns 4 values for Simplex noise at a 4D location.
VuoReal VuoGradientNoise_simplex_VuoPoint4d_VuoReal | ( | VuoPoint4d | point | ) |
Returns the value for Simplex noise at a 4D location.
VuoPoint2d VuoGradientNoise_simplex_VuoReal_VuoPoint2d | ( | VuoReal | x | ) |
Returns 2 values for Simplex noise at a 1D location.
VuoPoint3d VuoGradientNoise_simplex_VuoReal_VuoPoint3d | ( | VuoReal | x | ) |
Returns 3 values for Simplex noise at a 1D location.
VuoPoint4d VuoGradientNoise_simplex_VuoReal_VuoPoint4d | ( | VuoReal | x | ) |
Returns 4 values for Simplex noise at a 1D location.
Returns the value for Simplex noise at a 1D location.
|
static |
Perlin's shuffled ordering of 0..255, repeated once.
|
static |
Lookup table for simplex traversal.