|
Blender
V2.93
|
#include <Python.h>#include "BLI_math.h"#include "BLI_noise.h"#include "BLI_utildefines.h"#include "DNA_texture_types.h"#include "../generic/py_capi_utils.h"#include "mathutils.h"#include "mathutils_noise.h"Go to the source code of this file.
Macros | |
| #define | N 624 |
| #define | M 397 |
| #define | MATRIX_A 0x9908b0dfUL /* constant vector a */ |
| #define | UMASK 0x80000000UL /* most significant w-r bits */ |
| #define | LMASK 0x7fffffffUL /* least significant r bits */ |
| #define | MIXBITS(u, v) (((u)&UMASK) | ((v)&LMASK)) |
| #define | TWIST(u, v) ((MIXBITS(u, v) >> 1) ^ ((v)&1UL ? MATRIX_A : 0UL)) |
| #define | BPY_NOISE_BASIS_ENUM_DOC |
| #define | BPY_NOISE_METRIC_ENUM_DOC |
| #define | DEFAULT_NOISE_TYPE TEX_STDPERLIN |
| #define | DEFAULT_METRIC_TYPE TEX_DISTANCE |
Functions | |
| static void | init_genrand (ulong s) |
| static void | next_state (void) |
| static void | setRndSeed (int seed) |
| static float | frand (void) |
| static void | rand_vn (float *array_tar, const int size) |
| static void | noise_vector (float x, float y, float z, int nb, float v[3]) |
| static float | turb (float x, float y, float z, int oct, int hard, int nb, float ampscale, float freqscale) |
| static void | vTurb (float x, float y, float z, int oct, int hard, int nb, float ampscale, float freqscale, float v[3]) |
| PyDoc_STRVAR (M_Noise_doc, "The Blender noise module") | |
| PyDoc_STRVAR (M_Noise_random_doc, ".. function:: random()\n" "\n" " Returns a random number in the range [0, 1).\n" "\n" " :return: The random number.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_random (PyObject *UNUSED(self)) |
| PyDoc_STRVAR (M_Noise_random_unit_vector_doc, ".. function:: random_unit_vector(size=3)\n" "\n" " Returns a unit vector with random entries.\n" "\n" " :arg size: The size of the vector to be produced, in the range [2, 4].\n" " :type size: int\n" " :return: The random unit vector.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | M_Noise_random_unit_vector (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_random_vector_doc, ".. function:: random_vector(size=3)\n" "\n" " Returns a vector with random entries in the range (-1, 1).\n" "\n" " :arg size: The size of the vector to be produced.\n" " :type size: int\n" " :return: The random vector.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | M_Noise_random_vector (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_seed_set_doc, ".. function:: seed_set(seed)\n" "\n" " Sets the random seed used for random_unit_vector, and random.\n" "\n" " :arg seed: Seed used for the random generator.\n" " When seed is zero, the current time will be used instead.\n" " :type seed: int\n") | |
| static PyObject * | M_Noise_seed_set (PyObject *UNUSED(self), PyObject *args) |
| PyDoc_STRVAR (M_Noise_noise_doc, ".. function:: noise(position, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns noise value from the noise basis at the position specified.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The noise value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_noise (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_noise_vector_doc, ".. function:: noise_vector(position, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the noise vector from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The noise vector.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | M_Noise_noise_vector (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_turbulence_doc, ".. function:: turbulence(position, octaves, hard, noise_basis='PERLIN_ORIGINAL', " "amplitude_scale=0.5, frequency_scale=2.0)\n" "\n" " Returns the turbulence value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg hard: Specifies whether returned turbulence is hard (sharp transitions) or " "soft (smooth transitions).\n" " :type hard: boolean\n" BPY_NOISE_BASIS_ENUM_DOC " :arg amplitude_scale: The amplitude scaling factor.\n" " :type amplitude_scale: float\n" " :arg frequency_scale: The frequency scaling factor\n" " :type frequency_scale: float\n" " :return: The turbulence value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_turbulence (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_turbulence_vector_doc, ".. function:: turbulence_vector(position, octaves, hard, " "noise_basis='PERLIN_ORIGINAL', amplitude_scale=0.5, frequency_scale=2.0)\n" "\n" " Returns the turbulence vector from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg hard: Specifies whether returned turbulence is hard (sharp transitions) or " "soft (smooth transitions).\n" " :type hard: :boolean\n" BPY_NOISE_BASIS_ENUM_DOC " :arg amplitude_scale: The amplitude scaling factor.\n" " :type amplitude_scale: float\n" " :arg frequency_scale: The frequency scaling factor\n" " :type frequency_scale: float\n" " :return: The turbulence vector.\n" " :rtype: :class:`mathutils.Vector`\n") | |
| static PyObject * | M_Noise_turbulence_vector (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_fractal_doc, ".. function:: fractal(position, H, lacunarity, octaves, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the fractal Brownian motion (fBm) noise value from the noise basis at the " "specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal increment factor.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The fractal Brownian motion noise value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_fractal (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_multi_fractal_doc, ".. function:: multi_fractal(position, H, lacunarity, octaves, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns multifractal noise value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal increment factor.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The multifractal noise value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_multi_fractal (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_variable_lacunarity_doc, ".. function:: variable_lacunarity(position, distortion, " "noise_type1='PERLIN_ORIGINAL', noise_type2='PERLIN_ORIGINAL')\n" "\n" " Returns variable lacunarity noise value, a distorted variety of noise, from " "noise type 1 distorted by noise type 2 at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg distortion: The amount of distortion.\n" " :type distortion: float\n" " :arg noise_type1: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', " "'VORONOI_F1', 'VORONOI_F2', " "'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', " "'CELLNOISE'].\n" " :type noise_type1: string\n" " :arg noise_type2: Enumerator in ['BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', " "'VORONOI_F1', 'VORONOI_F2', " "'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', " "'CELLNOISE'].\n" " :type noise_type2: string\n" " :return: The variable lacunarity noise value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_variable_lacunarity (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_hetero_terrain_doc, ".. function:: hetero_terrain(position, H, lacunarity, octaves, offset, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the heterogeneous terrain value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The heterogeneous terrain value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_hetero_terrain (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_hybrid_multi_fractal_doc, ".. function:: hybrid_multi_fractal(position, H, lacunarity, octaves, offset, gain, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns hybrid multifractal value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" " :arg gain: Scaling applied to the values.\n" " :type gain: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The hybrid multifractal value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_hybrid_multi_fractal (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_ridged_multi_fractal_doc, ".. function:: ridged_multi_fractal(position, H, lacunarity, octaves, offset, gain, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns ridged multifractal value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" " :arg gain: Scaling applied to the values.\n" " :type gain: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The ridged multifractal value.\n" " :rtype: float\n") | |
| static PyObject * | M_Noise_ridged_multi_fractal (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
| PyDoc_STRVAR (M_Noise_voronoi_doc, ".. function:: voronoi(position, distance_metric='DISTANCE', exponent=2.5)\n" "\n" " Returns a list of distances to the four closest features and their locations.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_METRIC_ENUM_DOC " :arg exponent: The exponent for Minkowski distance metric.\n" " :type exponent: float\n" " :return: A list of distances to the four closest features and their locations.\n" " :rtype: list of four floats, list of four :class:`mathutils.Vector` types\n") | |
| static PyObject * | M_Noise_voronoi (PyObject *UNUSED(self), PyObject *args, PyObject *kw) |
Variables | |
| static ulong | state [N] |
| static int | left = 1 |
| static int | initf = 0 |
| static ulong * | next |
| static float | state_offset_vector [3 *3] |
| static PyC_FlagSet | bpy_noise_types [] |
| static PyC_FlagSet | bpy_noise_metrics [] |
This file defines the 'noise' module, a general purpose module to access blenders noise functions.
Definition in file mathutils_noise.c.
| #define BPY_NOISE_BASIS_ENUM_DOC |
Definition at line 189 of file mathutils_noise.c.
| #define BPY_NOISE_METRIC_ENUM_DOC |
Definition at line 196 of file mathutils_noise.c.
| #define DEFAULT_METRIC_TYPE TEX_DISTANCE |
Definition at line 220 of file mathutils_noise.c.
| #define DEFAULT_NOISE_TYPE TEX_STDPERLIN |
Definition at line 203 of file mathutils_noise.c.
| #define LMASK 0x7fffffffUL /* least significant r bits */ |
Definition at line 92 of file mathutils_noise.c.
| #define M 397 |
Definition at line 89 of file mathutils_noise.c.
| #define MATRIX_A 0x9908b0dfUL /* constant vector a */ |
Definition at line 90 of file mathutils_noise.c.
Definition at line 93 of file mathutils_noise.c.
| #define N 624 |
Definition at line 88 of file mathutils_noise.c.
Definition at line 94 of file mathutils_noise.c.
Definition at line 91 of file mathutils_noise.c.
|
static |
Definition at line 167 of file mathutils_noise.c.
References left, next, next_state(), and y.
Referenced by M_Noise_random(), and rand_vn().
|
static |
Definition at line 103 of file mathutils_noise.c.
References ARRAY_SIZE, float(), initf, left, N, state, and state_offset_vector.
Referenced by next_state(), and setRndSeed().
|
static |
Definition at line 631 of file mathutils_noise.c.
References BLI_noise_mg_fbm(), bpy_noise_types, DEFAULT_NOISE_TYPE, H, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 809 of file mathutils_noise.c.
References BLI_noise_mg_hetero_terrain(), bpy_noise_types, DEFAULT_NOISE_TYPE, H, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 868 of file mathutils_noise.c.
References BLI_noise_mg_hybrid_multi_fractal(), bpy_noise_types, DEFAULT_NOISE_TYPE, H, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 685 of file mathutils_noise.c.
References BLI_noise_mg_multi_fractal(), bpy_noise_types, DEFAULT_NOISE_TYPE, H, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 428 of file mathutils_noise.c.
References BLI_noise_generic_noise(), bpy_noise_types, DEFAULT_NOISE_TYPE, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 467 of file mathutils_noise.c.
References bpy_noise_types, DEFAULT_NOISE_TYPE, mathutils_array_parse(), noise_vector(), NULL, PyC_FlagSet_ValueFromID(), and Vector_CreatePyObject().
|
static |
Definition at line 332 of file mathutils_noise.c.
References frand().
|
static |
Definition at line 346 of file mathutils_noise.c.
References norm(), normalize_vn(), NULL, rand_vn(), size(), and Vector_CreatePyObject().
|
static |
Definition at line 379 of file mathutils_noise.c.
References NULL, rand_vn(), size(), and Vector_CreatePyObject_alloc().
|
static |
Definition at line 930 of file mathutils_noise.c.
References BLI_noise_mg_ridged_multi_fractal(), bpy_noise_types, DEFAULT_NOISE_TYPE, H, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 409 of file mathutils_noise.c.
References NULL, and setRndSeed().
|
static |
Definition at line 516 of file mathutils_noise.c.
References bpy_noise_types, DEFAULT_NOISE_TYPE, mathutils_array_parse(), NULL, PyC_FlagSet_ValueFromID(), and turb().
|
static |
Definition at line 573 of file mathutils_noise.c.
References bpy_noise_types, DEFAULT_NOISE_TYPE, mathutils_array_parse(), NULL, PyC_FlagSet_ValueFromID(), Vector_CreatePyObject(), and vTurb().
|
static |
Definition at line 745 of file mathutils_noise.c.
References BLI_noise_mg_variable_lacunarity(), bpy_noise_types, DEFAULT_NOISE_TYPE, mathutils_array_parse(), NULL, and PyC_FlagSet_ValueFromID().
|
static |
Definition at line 982 of file mathutils_noise.c.
References BLI_noise_voronoi(), bpy_noise_metrics, DEFAULT_METRIC_TYPE, mathutils_array_parse(), NULL, PyC_FlagSet_ValueFromID(), ret, v, and Vector_CreatePyObject().
|
static |
Definition at line 244 of file mathutils_noise.c.
References BLI_noise_generic_noise(), state_offset_vector, v, x, y, and z.
Referenced by M_Noise_noise_vector(), and vTurb().
| PyDoc_STRVAR | ( | M_Noise_fractal_doc | , |
| ".. function:: fractal(position, H, lacunarity, octaves, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the fractal Brownian motion (fBm) noise value from the noise basis at the " "specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal increment factor.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The fractal Brownian motion noise value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_hetero_terrain_doc | , |
| ".. function:: hetero_terrain(position, H, lacunarity, octaves, offset, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the heterogeneous terrain value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The heterogeneous terrain value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_hybrid_multi_fractal_doc | , |
| ".. function:: hybrid_multi_fractal(position, H, lacunarity, octaves, offset, gain, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns hybrid multifractal value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" " :arg gain: Scaling applied to the values.\n" " :type gain: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The hybrid multifractal value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_multi_fractal_doc | , |
| ".. function:: multi_fractal(position, H, lacunarity, octaves, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns multifractal noise value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal increment factor.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The multifractal noise value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_noise_doc | , |
| ".. function:: noise(position, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns noise value from the noise basis at the position specified.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The noise value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_noise_vector_doc | , |
| ".. function:: noise_vector(position, noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns the noise vector from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The noise vector.\n" " :rtype: :class:`mathutils.Vector`\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_random_doc | , |
| ".. function:: random()\n" "\n" " Returns a random number in the range [ | 0, | ||
| 1 | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_random_unit_vector_doc | , |
| ".. function:: random_unit_vector(size=3)\n" "\n" " Returns a unit vector with random entries.\n" "\n" " :arg size: The size of the vector to be | produced, | ||
| in the range .\n" " :type size:int\n" " :return:The random unit vector.\n" " :rtype::class:`mathutils.Vector`\n" | [2, 4] | ||
| ) |
| PyDoc_STRVAR | ( | M_Noise_random_vector_doc | , |
| ".. function:: random_vector(size=3)\n" "\n" " Returns a vector with random entries in the range (-1, 1).\n" "\n" " :arg size: The size of the vector to be produced.\n" " :type size: int\n" " :return: The random vector.\n" " :rtype: :class:`mathutils.Vector`\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_ridged_multi_fractal_doc | , |
| ".. function:: ridged_multi_fractal(position, H, lacunarity, octaves, offset, gain, " "noise_basis='PERLIN_ORIGINAL')\n" "\n" " Returns ridged multifractal value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg H: The fractal dimension of the roughest areas.\n" " :type H: float\n" " :arg lacunarity: The gap between successive frequencies.\n" " :type lacunarity: float\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg offset: The height of the terrain above 'sea level'.\n" " :type offset: float\n" " :arg gain: Scaling applied to the values.\n" " :type gain: float\n" BPY_NOISE_BASIS_ENUM_DOC " :return: The ridged multifractal value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_seed_set_doc | , |
| ".. function:: seed_set(seed)\n" "\n" " Sets the random seed used for | random_unit_vector, | ||
| and random.\n" "\n" " :arg seed:Seed used for the random generator.\n" " When seed is | zero, | ||
| the current time will be used instead.\n" " :type seed:int\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_turbulence_doc | , |
| ".. function:: turbulence(position, octaves, hard, noise_basis='PERLIN_ORIGINAL', " "amplitude_scale=0.5, frequency_scale=2.0)\n" "\n" " Returns the turbulence value from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg hard: Specifies whether returned turbulence is hard (sharp transitions) or " "soft (smooth transitions).\n" " :type hard: boolean\n" BPY_NOISE_BASIS_ENUM_DOC " :arg amplitude_scale: The amplitude scaling factor.\n" " :type amplitude_scale: float\n" " :arg frequency_scale: The frequency scaling factor\n" " :type frequency_scale: float\n" " :return: The turbulence value.\n" " :rtype: float\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_turbulence_vector_doc | , |
| ".. function:: turbulence_vector(position, octaves, hard, " "noise_basis='PERLIN_ORIGINAL', amplitude_scale=0.5, frequency_scale=2.0)\n" "\n" " Returns the turbulence vector from the noise basis at the specified position.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" " :arg octaves: The number of different noise frequencies used.\n" " :type octaves: int\n" " :arg hard: Specifies whether returned turbulence is hard (sharp transitions) or " "soft (smooth transitions).\n" " :type hard: :boolean\n" BPY_NOISE_BASIS_ENUM_DOC " :arg amplitude_scale: The amplitude scaling factor.\n" " :type amplitude_scale: float\n" " :arg frequency_scale: The frequency scaling factor\n" " :type frequency_scale: float\n" " :return: The turbulence vector.\n" " :rtype: :class:`mathutils.Vector`\n" | |||
| ) |
| PyDoc_STRVAR | ( | M_Noise_variable_lacunarity_doc | , |
| ".. function:: variable_lacunarity(position, distortion, " "noise_type1='PERLIN_ORIGINAL', noise_type2='PERLIN_ORIGINAL')\n" "\n" " Returns variable lacunarity noise | value, | ||
| a distorted variety of | noise, | ||
| from " "noise type 1 distorted by noise type 2 at the specified position.\n" "\n" " :arg position:The position to evaluate the selected noise function.\n" " :type position::class:`mathutils.Vector`\n" " :arg distortion:The amount of distortion.\n" " :type distortion:float\n" " :arg noise_type1:Enumerator in .\n" " :type noise_type1:string\n" " :arg noise_type2:Enumerator in .\n" " :type noise_type2:string\n" " :return:The variable lacunarity noise value.\n" " :rtype:float\n" | [ 'BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', " " 'VORONOI_F1', 'VORONOI_F2', " " 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', " " 'CELLNOISE'][ 'BLENDER', 'PERLIN_ORIGINAL', 'PERLIN_NEW', " " 'VORONOI_F1', 'VORONOI_F2', " " 'VORONOI_F3', 'VORONOI_F4', 'VORONOI_F2F1', 'VORONOI_CRACKLE', " " 'CELLNOISE'] | ||
| ) |
| PyDoc_STRVAR | ( | M_Noise_voronoi_doc | , |
| ".. function:: voronoi(position, distance_metric='DISTANCE', exponent=2.5)\n" "\n" " Returns a list of distances to the four closest features and their locations.\n" "\n" " :arg position: The position to evaluate the selected noise function.\n" " :type position: :class:`mathutils.Vector`\n" BPY_NOISE_METRIC_ENUM_DOC " :arg exponent: The exponent for Minkowski distance metric.\n" " :type exponent: float\n" " :return: A list of distances to the four closest features and their locations.\n" " :rtype: list of four | floats, | ||
| list of four :class:`mathutils.Vector` types\n" | |||
| ) |
|
static |
Definition at line 234 of file mathutils_noise.c.
References frand(), and size().
Referenced by M_Noise_random_unit_vector(), and M_Noise_random_vector().
|
static |
Definition at line 156 of file mathutils_noise.c.
References init_genrand(), NULL, seed, and time.
Referenced by M_Noise_seed_set().
|
static |
Definition at line 256 of file mathutils_noise.c.
References BLI_noise_generic_noise(), fabsf, float(), t, x, y, and z.
Referenced by M_Noise_turbulence(), magic(), and pointdensity().
|
static |
Definition at line 282 of file mathutils_noise.c.
References fabsf, noise_vector(), t, v, x, y, and z.
Referenced by M_Noise_turbulence_vector().
|
static |
Definition at line 222 of file mathutils_noise.c.
Referenced by M_Noise_voronoi().
|
static |
Definition at line 205 of file mathutils_noise.c.
Referenced by M_Noise_fractal(), M_Noise_hetero_terrain(), M_Noise_hybrid_multi_fractal(), M_Noise_multi_fractal(), M_Noise_noise(), M_Noise_noise_vector(), M_Noise_ridged_multi_fractal(), M_Noise_turbulence(), M_Noise_turbulence_vector(), and M_Noise_variable_lacunarity().
|
static |
Definition at line 98 of file mathutils_noise.c.
Referenced by init_genrand(), next_state(), and view_main_loop().
|
static |
Definition at line 97 of file mathutils_noise.c.
Referenced by MD5Hash::append(), BKE_colorband_evaluate(), BKE_tracking_get_projection_matrix(), BLI_split_name_num(), BLI_uniquename_cb(), BVHBuild::build_node(), bvh_reference_sort_threaded(), GHOST_SystemNULL::createWindow(), GHOST_SystemWayland::createWindow(), GHOST_SystemWin32::createWindow(), GHOST_SystemX11::createWindow(), GHOST_SystemCocoa::createWindow(), do_version_select_mouse(), draw_frustum_boundbox_calc(), blender::compositor::SMAABlendingWeightCalculationOperation::executePixel(), blender::compositor::SMAANeighborhoodBlendingOperation::executePixel(), frand(), GHOST_CreateWindow(), GHOST_WindowCocoa::GHOST_WindowCocoa(), GHOST_WindowSDL::GHOST_WindowSDL(), GHOST_WindowWin32::GHOST_WindowWin32(), GHOST_WindowX11::GHOST_WindowX11(), GPU_matrix_frustum_set(), GPU_matrix_ortho_2d_set(), GPU_matrix_ortho_set(), graph_bezt_get_transform_selection(), libmv::HorizontalStack(), libmv::HStack(), immDrawPixelsTexScaled_clipping(), init_genrand(), kdtree_balance(), mat4_frustum_set(), mat4_ortho_set(), next_state(), Freestyle::NodePerspectiveCamera::NodePerspectiveCamera(), offset_in_plane(), orthographic_m4(), perspective_m4(), planes_from_projmat(), quad_crosses_symmetry_plane(), query_qual(), sb_cf_threads_run(), sb_sfesf_threads_run(), screen_areas_align(), SEQ_transform_fix_single_image_seq_offsets(), SeqTransInfo(), sequencer_image_crop_transform_do_thread(), BVHSpatialSplit::split(), BVHMixedSplit::split(), BVHObjectSplit::split(), BVHSpatialSplit::split_reference(), StereoProjection(), txt_split_curline(), ui_but_is_row_alignment_group(), UI_icon_alert_imbuf_get(), ui_popup_block_position(), View(), voronoi_getXOfEdge(), voronoiEdge_new(), and voronoiParabola_setLeft().
|
static |
Definition at line 99 of file mathutils_noise.c.
Referenced by Freestyle::__recursiveSplit(), iTaSC::Cache::addCacheItem(), BMeshFairingContext::adjacents_coords_from_loop(), adjacet_vertices_index_from_adjacent_edge(), ANIM_keyingset_infos_exit(), animdata_filter_remove_duplis(), animdata_filter_remove_invalid(), animfilter_nla(), blender::compositor::antialias_tagbuf(), base_callback(), BKE_constraints_proxylocal_extract(), BKE_fcurve_bezt_subdivide_handles(), BKE_gpencil_stroke_subdivide(), BKE_mask_spline_feather_collapse_inner_loops(), BKE_mesh_uv_vert_map_create(), BKE_nurb_handle_calc(), BKE_nurb_handle_calc_ex(), BKE_nurb_handle_calc_simple(), BKE_pchan_bbone_spline_params_get(), BKE_sculpt_mask_layers_ensure(), BLI_freelist(), BLI_freelistN(), BLI_linklist_free(), BLI_linklist_free_pool(), BLI_linklist_freeN(), BLI_linklist_pop(), BLI_linklist_pop_pool(), BLI_linklist_reverse(), BLI_listbase_reverse(), bm_decim_triangulate_begin(), bm_edgering_pair_interpolate(), bm_face_split_by_concave(), BM_face_split_edgenet_connect_islands(), bm_face_triangulate_mapping(), BM_log_entry_add(), BM_mesh_bm_from_me(), BM_mesh_triangulate(), BM_uv_element_map_create(), BM_uv_vert_map_create(), bmesh_loop_validate(), blender::deg::DepsgraphRelationBuilder::build_rig(), C_BVHTree_FromPolygons(), calc_keyHandles(), calchandle_curvemap(), calchandleNurb_intern(), calchandles_fcurve_ex(), calchandlesNurb_intern(), ccg_ehash_free(), ccg_ehash_insert(), blender::compositor::check_corners(), clean_fcurve(), iTaSC::CacheChannel::clear(), btDbvtBroadphase::collide(), Freestyle::createStroke(), delete_metaelems_exec(), btIDebugDraw::drawArc(), drw_debug_draw_lines(), drw_debug_draw_spheres(), DRW_engines_free(), dynamicPaint_createUVSurface(), ebone_spline_preview(), ED_workspace_delete(), edbm_fill_grid_prepare(), GJK< btConvexTemplate >::Evaluate(), gjkepa2_impl::GJK::Evaluate(), face_map_move_exec(), GHOST_TimerManager::fireTimer(), frand(), generate_geometry(), get_line_pos_wrapped(), get_shortest_pattern_side(), Freestyle::Functions0D::getFEdges(), btConvexHullComputer::Edge::getNextEdgeOfVertex(), gpencil_interpolate_update_points(), gpencil_stroke_perimeter_ex(), gpencil_stroke_subdivide(), gpencil_subdivide_stroke(), gpu_node_graph_prune_unused(), GPU_pass_cache_free(), GPU_pass_cache_garbage_collect(), hair_spring_next(), Freestyle::WVertex::incoming_edge_iterator::increment(), Freestyle::Stroke::InsertVertex(), keyframe_jump_exec(), layerInterp_mdeformvert(), lineart_triangle_intersect(), list_sort_do(), marker_jump_exec(), minter_v3_v3v3v3_ref(), MOD_solidify_nonmanifold_modifyMesh(), multiresbake_freejob(), next_state(), GHOST_TimerManager::nextFireTime(), nlaedit_duplicate_exec(), nlaedit_split_exec(), node_link_insert_offset_ntree(), node_remove_linked(), object_blend_read_data(), Freestyle::Functions0D::VertexOrientation2DF0D::operator()(), Freestyle::Functions0D::VertexOrientation3DF0D::operator()(), Freestyle::Functions0D::Curvature2DAngleF0D::operator()(), phash_insert(), point_calculate_handle(), pose_grab_with_ik_clear(), pose_ik_clear_exec(), pose_select_connected_invoke(), pose_select_linked_exec(), poselib_preview_get_next(), GHOST_SystemCocoa::processEvents(), GHOST_SystemSDL::processEvents(), GHOST_SystemWin32::processEvents(), GHOST_SystemX11::processEvents(), RE_engines_exit(), rearrange_island_down(), recalcData_nla(), remove_tagged_functions(), Freestyle::Stroke::Resample(), RNA_def_property_collection_funcs(), rna_freelistN(), rna_idproperty_ui_container(), sample_fcurve(), select_adjacent_cp(), selmap_build_bezier_less(), selmap_build_bezier_more(), seq_cache_recycle_linked(), seq_cache_set_temp_cache_linked(), sequencer_strip_jump_exec(), GHOST_TimerTask::setNext(), btAxisSweep3Internal< BP_FP_INT_TYPE >::Handle::SetNextFree(), btSimpleBroadphaseProxy::SetNextFree(), slide_check_corners(), ss_sync_from_uv(), subdivide_nonauto_handles(), Freestyle::ViewEdgeInternal::SVertexIterator::SVertexIterator(), target_callback(), testsort_listbase_sort_is_stable(), tilt_bezpart(), tracking_get_keyframed_marker(), tracks_map_merge(), ui_multibut_free(), unescape(), weight_paint_sample_enum_itemf(), and WIDGETGROUP_node_corner_pin_refresh().
Definition at line 96 of file mathutils_noise.c.
Referenced by Profiler::add_state(), array_store_free_data(), basic_cache_init(), basic_force_cb(), bezier_relax_direction(), BKE_gpencil_frame_addnew(), BLI_array_store_calc_size_expanded_get(), BLI_array_store_is_valid(), BLI_array_store_state_add(), BLI_array_store_state_data_get(), BLI_array_store_state_data_get_alloc(), BLI_array_store_state_remove(), BLI_array_store_state_size_get(), BLI_expr_pylike_parse(), BLI_ghash_pop(), BLI_gset_pop(), BLI_task_parallel_iterator(), BLI_task_parallel_listbase(), BLI_task_parallel_mempool(), bmo_connect_vert_pair_exec(), BMO_op_vinitf(), boid_brain(), boid_copy_settings(), boid_duplicate_state(), boid_free_settings(), boid_get_current_state(), boid_new_state(), boids_precalc_rules(), BPY_rna_types(), bpy_types_module_dir(), bpy_types_module_getattro(), btSwapProblem(), blender::deg::DepsgraphRelationBuilder::build_particle_systems(), button_activate_state(), button_modal_state(), SVMCompiler::compile_type(), GHOST_SystemNULL::createWindow(), GHOST_SystemWayland::createWindow(), GHOST_SystemWin32::createWindow(), GHOST_SystemX11::createWindow(), GHOST_SystemCocoa::createWindow(), blender::deg::deg_evaluate_on_refresh(), blender::deg::deg_evaluate_task_pool_create(), blender::deg::deg_graph_detect_cycles(), determine_uv_edge_stitchability(), determine_uv_stitchability(), ObjectManager::device_update_object_transform(), ObjectManager::device_update_transforms(), direct_emission(), direct_emissive_eval(), do_child_modifiers(), do_clump(), do_guides(), do_kink(), do_kink_spiral_deform(), do_render_strip_seqbase(), do_render_strip_uncached(), do_rough(), do_rough_curve(), do_rough_end(), do_twist(), blender::io::alembic::ABCPointsWriter::do_write(), draw_call_batching_do(), draw_call_batching_finish(), draw_call_batching_flush(), draw_call_batching_start(), draw_call_resource_bind(), draw_call_single_do(), draw_filled_lasso(), draw_image_buffer(), draw_indirect_call(), draw_marker_texts(), draw_select_buffer(), draw_shgroup(), draw_update_uniforms(), DRW_pass_create(), DRW_pass_create_instance(), drw_shgroup_material_texture(), DRW_shgroup_state_disable(), DRW_shgroup_state_enable(), DRW_state_lock(), DRW_state_reset_ex(), drw_state_set(), ED_clip_view_lock_state_restore_no_jump(), ED_clip_view_lock_state_store(), ED_draw_imbuf_clipping(), ED_mask_draw_region(), ED_mask_view_lock_state_restore_no_jump(), ED_mask_view_lock_state_store(), ED_node_socket_draw(), ed_preview_draw_rect(), ED_screen_full_restore(), ED_screen_state_toggle(), EEVEE_lightprobes_cache_init(), EEVEE_lookdev_cache_init(), eevee_lookdev_hdri_preview_init(), EEVEE_materials_cache_init(), EEVEE_motion_blur_cache_init(), EEVEE_occlusion_output_init(), EEVEE_shadows_cache_init(), EEVEE_subsurface_add_pass(), EEVEE_subsurface_cache_init(), explodeMesh(), file_draw_preview(), SVMCompiler::find_aov_nodes_and_dependencies(), SVMCompiler::generate_closure_node(), SVMCompiler::generate_multi_closure(), SVMCompiler::generate_svm_nodes(), SVMCompiler::generated_shared_closure_nodes(), get_angular_velocity_vector(), OSLRenderServices::get_background_attribute(), get_boid_state(), get_effector_data(), GHOST_SystemSDL::getButtons(), GHOST_WindowCocoa::getState(), GHOST_WindowX11::getState(), ghash_pop(), GHOST_CreateWindow(), ghost_event_proc(), GHOST_SetWindowState(), GHOST_Window::GHOST_Window(), GHOST_WindowCocoa::GHOST_WindowCocoa(), GHOST_WindowWayland::GHOST_WindowWayland(), GHOST_WindowWin32::GHOST_WindowWin32(), GHOST_WindowX11::GHOST_WindowX11(), GPENCIL_cache_init(), gpencil_layer_cache_add(), gpencil_vfx_blur(), gpencil_vfx_colorize(), gpencil_vfx_flip(), gpencil_vfx_glow(), gpencil_vfx_pass_create(), gpencil_vfx_pixelize(), gpencil_vfx_rim(), gpencil_vfx_shadow(), gpencil_vfx_swirl(), gpencil_vfx_wave(), GPU_blend_get(), GPU_color_mask(), GPU_depth_mask(), GPU_depth_mask_get(), GPU_depth_range(), GPU_depth_test_get(), GPU_line_width_get(), GPU_matrix_dirty_get(), GPU_matrix_reset(), GPU_matrix_stack_level_get_model_view(), GPU_matrix_stack_level_get_projection(), gpu_matrix_state_active_set_dirty(), GPU_matrix_state_create(), GPU_matrix_state_discard(), GPU_point_size(), GPU_program_point_size(), GPU_state_set(), GPU_stencil_mask_get(), GPU_stencil_test_get(), GPU_texture_bind_ex(), GPU_write_mask_get(), icon_draw_rect(), IDP_repr_fn(), idp_repr_fn_recursive(), idp_str_append_escape(), IMAGE_cache_init(), immBindTextureSampler(), immDrawPixelsTex(), immDrawPixelsTex_clipping(), immDrawPixelsTexScaled(), immDrawPixelsTexScaled_clipping(), immDrawPixelsTexSetup(), immDrawPixelsTexSetupAttributes(), indirect_background(), indirect_lamp_emission(), init_genrand(), kernel_background_evaluate(), kernel_buffer_update(), kernel_direct_lighting(), kernel_displace_evaluate(), kernel_do_volume(), kernel_holdout_emission_blurring_pathtermination_ao(), kernel_indirect_background(), kernel_indirect_subsurface(), kernel_lamp_emission(), kernel_next_iteration_setup(), kernel_path_ao(), kernel_path_background(), kernel_path_integrate(), kernel_path_lamp_emission(), kernel_path_scene_intersect(), kernel_path_shader_apply(), kernel_path_surface_bounce(), kernel_path_surface_connect_light(), kernel_path_trace(), kernel_scene_intersect(), kernel_shader_eval(), kernel_shadow_blocked_ao(), kernel_shadow_blocked_dl(), kernel_subsurface_scatter(), kernel_write_data_passes(), keyboard_key(), lcg_state_init(), lcg_state_init_addrspace(), line_directive(), make_duplis_particle_system(), blender::compositor::MemoryBuffer::MemoryBuffer(), modifier_render_mask_input(), modifyMesh(), next_state(), node_draw_preview(), object_cacheIgnoreClear(), operator_state_dispatch(), OVERLAY_armature_cache_init(), OVERLAY_background_cache_init(), OVERLAY_edit_curve_cache_init(), OVERLAY_edit_gpencil_cache_init(), OVERLAY_edit_lattice_cache_init(), OVERLAY_edit_mesh_cache_init(), OVERLAY_edit_particle_cache_init(), OVERLAY_edit_text_cache_init(), OVERLAY_edit_uv_cache_init(), OVERLAY_extra_cache_init(), OVERLAY_facing_cache_init(), OVERLAY_fade_cache_init(), OVERLAY_gpencil_cache_init(), OVERLAY_grid_cache_init(), OVERLAY_image_cache_init(), OVERLAY_metaball_cache_init(), OVERLAY_motion_path_cache_init(), OVERLAY_outline_cache_init(), OVERLAY_paint_cache_init(), OVERLAY_particle_cache_init(), OVERLAY_sculpt_cache_init(), OVERLAY_volume_cache_init(), OVERLAY_wireframe_cache_init(), paint_2d_op(), paint_draw_tex_overlay(), panel_activate_state(), panel_handle_data_ensure(), parallel_iterator_func(), parallel_iterator_func_do(), parallel_mempool_func(), parse_add(), parse_add_func(), parse_add_jump(), parse_add_op(), parse_alloc_ops(), parse_and(), parse_cmp(), parse_cmp_chain(), parse_expr(), parse_function_args(), parse_mul(), parse_next_token(), parse_not(), parse_or(), parse_set_jump(), parse_unary(), particle_batch_cache_ensure_pos(), particle_settings_blend_read_data(), particle_settings_blend_read_expand(), particle_settings_blend_read_lib(), particle_settings_blend_write(), particle_settings_foreach_id(), particle_system_minmax(), path_branched_rng_1D(), path_branched_rng_2D(), path_branched_rng_light_termination(), path_radiance_accum_ao(), path_radiance_accum_background(), path_radiance_accum_emission(), path_radiance_accum_light(), path_radiance_accum_total_ao(), path_radiance_accum_total_light(), path_source_handle_preprocessor(), path_source_replace_includes(), path_source_replace_includes_recursive(), path_state_ao_bounce(), path_state_branch(), path_state_continuation_probability(), path_state_init(), path_state_modify_bounce(), path_state_next(), path_state_ray_visibility(), path_state_rng_1D(), path_state_rng_1D_hash(), path_state_rng_2D(), path_state_rng_light_termination(), pd_point_from_particle(), pointdensity_cache_psys(), pointer_button(), precalc_guides(), GHOST_SystemWin32::processKeyEvent(), GHOST_WindowWin32::processWin32TabletActivateEvent(), project_paint_op(), psys_get_birth_coords(), psys_get_particle_on_path(), psys_get_particle_state(), rekey_particle(), rekey_particle_to_time(), Profiler::remove_state(), rule_add_exec(), rule_del_exec(), rule_move_down_exec(), rule_move_up_exec(), ruler_state_set(), Profiler::run(), blender::gpu::GLTexture::samplers_init(), blender::gpu::GLTexture::samplers_update(), screen_active_editable(), screen_state_to_nonnormal(), select_cache_init(), seq_proxy_build_frame(), SEQ_proxy_rebuild(), seq_render_effect_strip_impl(), SEQ_render_give_ibuf(), SEQ_render_give_ibuf_direct(), seq_render_give_ibuf_seqbase(), seq_render_state_init(), seq_render_strip(), seq_render_strip_stack(), BoneExtended::set_leaf_bone(), set_next_operator_state(), GHOST_WindowCocoa::setState(), GHOST_WindowSDL::setState(), GHOST_WindowWin32::setState(), GHOST_WindowX11::setState(), GHOST_WindowWayland::setState(), shader_eval_displacement(), shader_eval_surface(), shader_prepare_closures(), shaderdata_to_shaderglobals(), shadow_blocked(), shadow_blocked_opaque(), shadow_handle_transparent_isect(), sima_draw_zbuf_pixels(), sima_draw_zbuffloat_pixels(), SKY_arhosek_xyz_skymodelstate_alloc_init(), SKY_arhosekskymodel_radiance(), SKY_arhosekskymodelstate_free(), sph_force_cb(), sphclassical_force_cb(), splineik_evaluate_bone(), splineik_evaluate_init(), splineik_execute_tree(), state_add_exec(), state_del_exec(), state_delete(), state_dupe_add(), state_link_add(), state_link_add_test(), state_link_find(), state_move_down_exec(), state_move_up_exec(), state_step(), state_step__face_edges(), state_step__face_verts(), mv::KalmanFilter< T, N, K >::Step(), stitch_calculate_island_snapping(), stitch_check_edges_state_stitchable(), stitch_check_edges_stitchable(), stitch_check_uvs_state_stitchable(), stitch_check_uvs_stitchable(), stitch_draw(), stitch_exit(), stitch_init(), stitch_init_all(), stitch_invoke(), stitch_island_calculate_edge_rotation(), stitch_island_calculate_vert_rotation(), stitch_process_data(), stitch_propagate_uv_final_position(), stitch_select(), stitch_select_edge(), stitch_select_uv(), stitch_set_selection_mode(), stitch_setup_face_preview_for_uv_group(), stitch_uv_edge_generate_linked_edges(), stitch_validate_edge_stitchability(), stitch_validate_uv_stitchability(), subdivide_particle(), subsurface_color_bump_blur(), subsurface_random_walk(), subsurface_scatter_multi_intersect(), subsurface_scatter_multi_setup(), svm_eval_nodes(), svm_node_aov_check(), svm_node_light_path(), task_parallel_iterator_do(), task_parallel_iterator_no_threads(), TEST(), text_state_decode(), text_state_encode(), text_undosys_step_decode(), text_undosys_step_encode_to_state(), text_undosys_step_free(), OSLRenderServices::texture(), toplevel_configure(), ui_but_is_pushed_ex(), ui_draw_but(), ui_draw_but_IMAGE(), ui_draw_menu_item(), ui_draw_preview_item(), UI_draw_widget_scroll(), ui_handle_button_event(), UI_search_item_add(), ui_searchbox_region_draw_cb(), ui_searchbox_region_draw_cb__operator(), ui_textedit_undo_push(), UI_view2d_scrollers_draw(), ui_widget_color_disabled(), um_arraystore_expand(), um_arraystore_free(), mv::KalmanFilter< T, N, K >::Update(), uv_edge_get(), view_mouse(), widget_alpha_factor(), widget_color_blend_from_flags(), widget_icon_has_anim(), widget_numbut(), widget_numbut_draw(), widget_numbut_embossn(), widget_numslider(), widget_optionbut(), widget_pulldownbut(), widget_roundbut_exec(), widget_scroll(), widget_state(), widget_state_label(), widget_state_menu_item(), widget_state_numslider(), widget_state_option_menu(), widget_state_pie_menu_item(), widget_swatch(), widget_tab(), widget_textbut(), wm_drags_draw(), wm_draw_update(), wm_event_cursor_store(), wm_window_fullscreen_toggle_exec(), wm_xr_session_draw_data_needs_reset_to_base_pose(), wm_xr_session_draw_data_update(), wm_xr_session_state_to_event(), wm_xr_session_state_update(), workbench_cache_hair_populate(), workbench_cache_texpaint_populate(), workbench_cavity_cache_init(), workbench_opaque_cache_init(), workbench_outline_cache_init(), workbench_shadow_cache_init(), workbench_transparent_cache_init(), write_boid_state(), xml_read_background(), xml_read_camera(), xml_read_file(), xml_read_include(), xml_read_light(), xml_read_mesh(), xml_read_scene(), xml_read_shader(), xml_read_shader_graph(), and xml_read_state().
|
static |
Definition at line 100 of file mathutils_noise.c.
Referenced by init_genrand(), and noise_vector().