|
Blender V5.3
|
Go to the source code of this file.
| CCL_NAMESPACE_BEGIN ccl_device float fade | ( | const float | t | ) |
Definition at line 18 of file noise.h.
References ccl_device, and fade().
| ccl_device float grad1 | ( | const int | hash, |
| const float | x ) |
Definition at line 28 of file noise.h.
References ccl_device, grad1(), hash, negate_if(), and x.
Referenced by grad1(), and perlin_1d().
| ccl_device float grad2 | ( | const int | hash, |
| const float | x, | ||
| float | y ) |
Definition at line 134 of file noise.h.
References ccl_device, grad2(), hash, negate_if(), x, and y.
Referenced by grad2(), and perlin_2d().
| ccl_device float grad3 | ( | const int | hash, |
| const float | x, | ||
| float | y, | ||
| const float | z ) |
Definition at line 142 of file noise.h.
References ccl_device, grad3(), hash, negate_if(), x, y, and z().
Referenced by grad3(), and perlin_3d().
Definition at line 151 of file noise.h.
References ccl_device, grad4(), hash, negate_if(), w(), x, y, and z().
Referenced by grad4(), and perlin_4d().
| ccl_device_inline float negate_if | ( | const float | val, |
| const int | condition ) |
Definition at line 23 of file noise.h.
References ccl_device_inline, condition, and negate_if().
| ccl_device_inline float noise_1d | ( | const float | p | ) |
Definition at line 702 of file noise.h.
References ccl_device_inline, noise_1d(), and snoise_1d().
Referenced by noise_1d().
| ccl_device_inline float noise_2d | ( | const float2 | p | ) |
Definition at line 720 of file noise.h.
References ccl_device_inline, noise_2d(), and snoise_2d().
Referenced by noise_2d().
| ccl_device_inline float noise_3d | ( | const float3 | p | ) |
Definition at line 738 of file noise.h.
References ccl_device_inline, noise_3d(), and snoise_3d().
Referenced by noise_3d().
| ccl_device_inline float noise_4d | ( | const float4 | p | ) |
Definition at line 756 of file noise.h.
References ccl_device_inline, noise_4d(), and snoise_4d().
Referenced by noise_4d().
| ccl_device_inline float noise_scale1 | ( | const float | result | ) |
Definition at line 669 of file noise.h.
References ccl_device_inline, and noise_scale1().
| ccl_device_inline float noise_scale2 | ( | const float | result | ) |
Definition at line 674 of file noise.h.
References ccl_device_inline, and noise_scale2().
| ccl_device_inline float noise_scale3 | ( | const float | result | ) |
Definition at line 679 of file noise.h.
References ccl_device_inline, and noise_scale3().
| ccl_device_inline float noise_scale4 | ( | const float | result | ) |
Definition at line 684 of file noise.h.
References ccl_device_inline, and noise_scale4().
| ccl_device_noinline_cpu float perlin_1d | ( | const float | x | ) |
Definition at line 35 of file noise.h.
References ccl_device_noinline_cpu, fade(), floorfrac(), grad1(), hash_uint(), mix, perlin_1d(), X, and x.
Referenced by perlin_1d(), and snoise_1d().
| ccl_device_noinline_cpu float perlin_2d | ( | const float | x, |
| const float | y ) |
Definition at line 160 of file noise.h.
References bi_mix(), ccl_device_noinline_cpu, fade(), floorfrac(), grad2(), hash_uint2(), perlin_2d(), X, x, Y, and y.
Referenced by perlin_2d(), and snoise_2d().
| ccl_device_noinline_cpu float perlin_3d | ( | const float | x, |
| const float | y, | ||
| float | z ) |
Definition at line 181 of file noise.h.
References ccl_device_noinline_cpu, fade(), floorfrac(), grad3(), hash_uint3(), perlin_3d(), tri_mix(), w(), X, x, Y, y, Z, and z().
Referenced by perlin_3d(), and snoise_3d().
Definition at line 209 of file noise.h.
References ccl_device_noinline_cpu, fade(), floorfrac(), grad4(), hash_uint4(), perlin_4d(), quad_mix(), W, w(), X, x, Y, y, Z, and z().
Referenced by perlin_4d(), and snoise_4d().
| ccl_device float quad_mix | ( | const float | v0, |
| float | v1, | ||
| float | v2, | ||
| float | v3, | ||
| float | v4, | ||
| float | v5, | ||
| float | v6, | ||
| float | v7, | ||
| float | v8, | ||
| float | v9, | ||
| float | v10, | ||
| float | v11, | ||
| float | v12, | ||
| float | v13, | ||
| float | v14, | ||
| float | v15, | ||
| const float | x, | ||
| const float | y, | ||
| const float | z, | ||
| const float | w ) |
Definition at line 108 of file noise.h.
References ccl_device, mix, quad_mix(), tri_mix(), w(), x, y, and z().
| ccl_device_inline float snoise_1d | ( | float | p | ) |
Definition at line 691 of file noise.h.
References ccl_device_inline, fabsf, float, fmodf, noise_scale1(), perlin_1d(), and snoise_1d().
Referenced by noise_1d(), noise_fbm(), noise_hetero_terrain(), noise_hybrid_multi_fractal(), noise_multi_fractal(), noise_ridged_multi_fractal(), noise_texture_1d(), and snoise_1d().
| ccl_device_inline float snoise_2d | ( | float2 | p | ) |
Definition at line 707 of file noise.h.
References ccl_device_inline, fabs(), fmod(), make_float2, mask(), noise_scale2(), one_float2(), perlin_2d(), snoise_2d(), float2::x, and float2::y.
Referenced by noise_2d(), noise_fbm(), noise_hetero_terrain(), noise_hybrid_multi_fractal(), noise_multi_fractal(), noise_ridged_multi_fractal(), noise_texture_2d(), and snoise_2d().
| ccl_device_inline float snoise_3d | ( | float3 | p | ) |
Definition at line 725 of file noise.h.
References ccl_device_inline, fabs(), fmod(), make_float3(), mask(), noise_scale3(), one_float3(), perlin_3d(), snoise_3d(), float3::x, float3::y, and float3::z.
Referenced by noise_3d(), noise_fbm(), noise_hetero_terrain(), noise_hybrid_multi_fractal(), noise_multi_fractal(), noise_ridged_multi_fractal(), noise_texture_3d(), and snoise_3d().
| ccl_device_inline float snoise_4d | ( | float4 | p | ) |
Definition at line 743 of file noise.h.
References ccl_device_inline, fabs(), fmod(), make_float4, mask(), noise_scale4(), one_float4(), perlin_4d(), snoise_4d(), float4::w, float4::x, float4::y, and float4::z.
Referenced by noise_4d(), noise_fbm(), noise_hetero_terrain(), noise_hybrid_multi_fractal(), noise_multi_fractal(), noise_ridged_multi_fractal(), noise_texture_4d(), and snoise_4d().