|
Blender V4.3
|
Go to the source code of this file.
Macros | |
| #define | IMPULSES_COUNT 8 |
| #define IMPULSES_COUNT 8 |
Definition at line 31 of file gabor.h.
Referenced by compute_2d_gabor_noise_cell(), compute_2d_gabor_standard_deviation(), compute_3d_gabor_noise_cell(), and compute_3d_gabor_standard_deviation().
| ccl_device float2 compute_2d_gabor_kernel | ( | float2 | position, |
| float | frequency, | ||
| float | orientation ) |
Definition at line 58 of file gabor.h.
References cosf, dot(), expf, M_PI_F, make_float2(), and sinf.
Referenced by compute_2d_gabor_noise_cell().
| ccl_device float2 compute_2d_gabor_noise | ( | float2 | coordinates, |
| float | frequency, | ||
| float | isotropy, | ||
| float | base_orientation ) |
Definition at line 149 of file gabor.h.
References compute_2d_gabor_noise_cell(), floor(), make_float2(), and sum().
Referenced by svm_node_tex_gabor().
| ccl_device float2 compute_2d_gabor_noise_cell | ( | float2 | cell, |
| float2 | position, | ||
| float | frequency, | ||
| float | isotropy, | ||
| float | base_orientation ) |
Definition at line 111 of file gabor.h.
References compute_2d_gabor_kernel(), dot(), hash_float3_to_float(), hash_float3_to_float2(), IMPULSES_COUNT, M_PI_F, make_float2(), make_float3(), noise, float2::x, and float2::y.
Referenced by compute_2d_gabor_noise().
| ccl_device float compute_2d_gabor_standard_deviation | ( | ) |
Definition at line 98 of file gabor.h.
References IMPULSES_COUNT, and sqrtf.
Referenced by svm_node_tex_gabor().
| ccl_device float2 compute_3d_gabor_kernel | ( | float3 | position, |
| float | frequency, | ||
| float3 | orientation ) |
Definition at line 175 of file gabor.h.
References cosf, dot(), expf, M_PI_F, make_float2(), and sinf.
Referenced by compute_3d_gabor_noise_cell().
| ccl_device float2 compute_3d_gabor_noise | ( | float3 | coordinates, |
| float | frequency, | ||
| float | isotropy, | ||
| float3 | base_orientation ) |
Definition at line 259 of file gabor.h.
References compute_3d_gabor_noise_cell(), floor(), make_float2(), make_float3(), and sum().
Referenced by svm_node_tex_gabor().
| ccl_device float2 compute_3d_gabor_noise_cell | ( | float3 | cell, |
| float3 | position, | ||
| float | frequency, | ||
| float | isotropy, | ||
| float3 | base_orientation ) |
Definition at line 227 of file gabor.h.
References compute_3d_gabor_kernel(), compute_3d_orientation(), dot(), hash_float4_to_float(), hash_float4_to_float3(), IMPULSES_COUNT, make_float2(), make_float4(), noise, float3::x, float3::y, and float3::z.
Referenced by compute_3d_gabor_noise().
| ccl_device float compute_3d_gabor_standard_deviation | ( | ) |
Definition at line 192 of file gabor.h.
References IMPULSES_COUNT, and sqrtf.
Referenced by svm_node_tex_gabor().
| ccl_device float3 compute_3d_orientation | ( | float3 | orientation, |
| float | isotropy, | ||
| float4 | seed ) |
Definition at line 202 of file gabor.h.
References cosf, hash_float4_to_float2(), len, M_PI_F, make_float2(), make_float3(), seed, sinf, float2::x, float3::x, float2::y, float3::y, and float3::z.
Referenced by compute_3d_gabor_noise_cell().
| ccl_device_noinline int svm_node_tex_gabor | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float * | stack, | ||
| uint | type, | ||
| uint | stack_offsets_1, | ||
| uint | stack_offsets_2, | ||
| int | offset ) |
Definition at line 283 of file gabor.h.
References clamp(), compute_2d_gabor_noise(), compute_2d_gabor_standard_deviation(), compute_3d_gabor_noise(), compute_3d_gabor_standard_deviation(), len, M_PI_F, make_float2(), max, NODE_GABOR_TYPE_2D, NODE_GABOR_TYPE_3D, normalize(), read_node(), stack_load_float3(), stack_load_float_default(), stack_store_float(), stack_valid(), svm_unpack_node_uchar2(), svm_unpack_node_uchar3(), svm_unpack_node_uchar4(), uint4::w, float2::x, float3::x, uint4::x, float2::y, float3::y, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().