|
Blender V4.3
|
#include "kernel/svm/fractal_noise.h"Go to the source code of this file.
| ccl_device float noise_select | ( | T | p, |
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | offset, | ||
| float | gain, | ||
| int | type, | ||
| bool | normalize ) |
Definition at line 46 of file noisetex.h.
References 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(), and normalize().
Referenced by noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), and noise_texture_4d().
| ccl_device void noise_texture_1d | ( | float | co, |
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | offset, | ||
| float | gain, | ||
| float | distortion, | ||
| int | type, | ||
| bool | normalize, | ||
| bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 78 of file noisetex.h.
References make_float3(), noise_select(), normalize(), random_float_offset(), and snoise_1d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_2d | ( | float2 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | offset, | ||
| float | gain, | ||
| float | distortion, | ||
| int | type, | ||
| bool | normalize, | ||
| bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 118 of file noisetex.h.
References 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 | ( | float3 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | offset, | ||
| float | gain, | ||
| float | distortion, | ||
| int | type, | ||
| bool | normalize, | ||
| bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 159 of file noisetex.h.
References make_float3(), noise_select(), normalize(), random_float3_offset(), and snoise_3d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_4d | ( | float4 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | offset, | ||
| float | gain, | ||
| float | distortion, | ||
| int | type, | ||
| bool | normalize, | ||
| bool | color_is_needed, | ||
| ccl_private float * | value, | ||
| ccl_private float3 * | color ) |
Definition at line 201 of file noisetex.h.
References 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 | ( | float | seed | ) |
Definition at line 24 of file noisetex.h.
References hash_float2_to_float(), make_float2(), and seed.
Referenced by noise_texture_2d().
| ccl_device_inline float3 random_float3_offset | ( | float | seed | ) |
Definition at line 30 of file noisetex.h.
References hash_float2_to_float(), make_float2(), make_float3(), and seed.
Referenced by noise_texture_3d().
| ccl_device_inline float4 random_float4_offset | ( | float | seed | ) |
Definition at line 37 of file noisetex.h.
References 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 | ( | float | seed | ) |
Definition at line 19 of file noisetex.h.
References hash_float_to_float(), and seed.
Referenced by noise_texture_1d().
| ccl_device_noinline int svm_node_tex_noise | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float * | stack, | ||
| uint | offsets1, | ||
| uint | offsets2, | ||
| uint | offsets3, | ||
| int | node_offset ) |
Definition at line 244 of file noisetex.h.
References clamp(), color, 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().