|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | random_float_offset (const float seed) |
| ccl_device_inline float2 | random_float2_offset (const float seed) |
| ccl_device_inline float3 | random_float3_offset (const float seed) |
| ccl_device_inline float4 | random_float4_offset (const float seed) |
| template<typename T> | |
| ccl_device float | noise_select (T p, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const int type, bool normalize) |
| ccl_device void | noise_texture_1d (const float co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, bool normalize, bool color_is_needed, ccl_private float *value, ccl_private float3 *color) |
| ccl_device void | noise_texture_2d (const float2 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color) |
| ccl_device void | noise_texture_3d (const float3 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color) |
| ccl_device void | noise_texture_4d (const float4 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color) |
| ccl_device_noinline int | svm_node_tex_noise (KernelGlobals kg, ccl_private float *stack, const uint offsets1, const uint offsets2, const uint offsets3, int node_offset) |
| ccl_device float noise_select | ( | T | p, |
| const float | detail, | ||
| const float | roughness, | ||
| const float | lacunarity, | ||
| const float | offset, | ||
| const float | gain, | ||
| const int | type, | ||
| bool | normalize ) |
Definition at line 47 of file noisetex.h.
References ccl_device, kernel_assert, NODE_NOISE_FBM, NODE_NOISE_HETERO_TERRAIN, NODE_NOISE_HYBRID_MULTIFRACTAL, NODE_NOISE_MULTIFRACTAL, NODE_NOISE_RIDGED_MULTIFRACTAL, noise_fbm(), noise_hetero_terrain(), noise_hybrid_multi_fractal(), noise_multi_fractal(), noise_ridged_multi_fractal(), normalize, and T.
Referenced by noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), and noise_texture_4d().
| ccl_device void noise_texture_1d | ( | const float | co, |
| const float | detail, | ||
| const float | roughness, | ||
| const float | lacunarity, | ||
| const float | offset, | ||
| const float | gain, | ||
| const float | distortion, | ||
| const int | type, | ||
| bool | normalize, | ||
| bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 79 of file noisetex.h.
References ccl_device, ccl_private, make_float3(), noise_select(), normalize, random_float_offset(), and snoise_1d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_2d | ( | const float2 | co, |
| const float | detail, | ||
| const float | roughness, | ||
| const float | lacunarity, | ||
| const float | offset, | ||
| const float | gain, | ||
| const float | distortion, | ||
| const int | type, | ||
| const bool | normalize, | ||
| const bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 119 of file noisetex.h.
References ccl_device, ccl_private, make_float2, make_float3(), noise_select(), normalize, random_float2_offset(), and snoise_2d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_3d | ( | const float3 | co, |
| const float | detail, | ||
| const float | roughness, | ||
| const float | lacunarity, | ||
| const float | offset, | ||
| const float | gain, | ||
| const float | distortion, | ||
| const int | type, | ||
| const bool | normalize, | ||
| const bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 160 of file noisetex.h.
References ccl_device, ccl_private, make_float3(), noise_select(), normalize, random_float3_offset(), and snoise_3d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_4d | ( | const float4 | co, |
| const float | detail, | ||
| const float | roughness, | ||
| const float | lacunarity, | ||
| const float | offset, | ||
| const float | gain, | ||
| const float | distortion, | ||
| const int | type, | ||
| const bool | normalize, | ||
| const bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 202 of file noisetex.h.
References ccl_device, ccl_private, make_float3(), make_float4, noise_select(), normalize, random_float4_offset(), and snoise_4d().
Referenced by svm_node_tex_noise().
| ccl_device_inline float2 random_float2_offset | ( | const float | seed | ) |
Definition at line 25 of file noisetex.h.
References ccl_device_inline, hash_float2_to_float(), make_float2, and seed.
Referenced by noise_texture_2d().
| ccl_device_inline float3 random_float3_offset | ( | const float | seed | ) |
Definition at line 31 of file noisetex.h.
References ccl_device_inline, hash_float2_to_float(), make_float2, make_float3(), and seed.
Referenced by noise_texture_3d().
| ccl_device_inline float4 random_float4_offset | ( | const float | seed | ) |
Definition at line 38 of file noisetex.h.
References ccl_device_inline, hash_float2_to_float(), make_float2, make_float4, and seed.
Referenced by noise_texture_4d().
| CCL_NAMESPACE_BEGIN ccl_device_inline float random_float_offset | ( | const float | seed | ) |
Definition at line 20 of file noisetex.h.
References ccl_device_inline, hash_float_to_float(), and seed.
Referenced by noise_texture_1d().
| ccl_device_noinline int svm_node_tex_noise | ( | KernelGlobals | kg, |
| ccl_private float * | stack, | ||
| const uint | offsets1, | ||
| const uint | offsets2, | ||
| const uint | offsets3, | ||
| int | node_offset ) |
Definition at line 245 of file noisetex.h.
References ccl_device_noinline, ccl_private, clamp(), fmaxf, kernel_assert, make_float2, make_float4, noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), noise_texture_4d(), normalize, read_node(), stack_load_float3(), stack_load_float_default(), stack_store_float(), stack_store_float3(), stack_valid(), svm_unpack_node_uchar3(), svm_unpack_node_uchar4(), uint4::w, w(), uint4::x, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().