|
Blender V5.0
|
#include "kernel/globals.h"Go to the source code of this file.
Macros | |
| #define | IES_LOOKUP(v) |
| #define | IES_LOOKUP_ANGLE_H(h) |
| #define | IES_LOOKUP_ANGLE_V(v) |
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | interpolate_ies_vertical (KernelGlobals kg, const int ofs, const bool wrap_vlow, const bool wrap_vhigh, const int v, const int v_num, const float v_frac, const int h) |
| ccl_device_inline float | kernel_ies_interp (KernelGlobals kg, const int slot, const float h_angle, const float v_angle) |
| #define IES_LOOKUP | ( | v | ) |
Referenced by interpolate_ies_vertical().
| #define IES_LOOKUP_ANGLE_H | ( | h | ) |
Referenced by kernel_ies_interp().
| #define IES_LOOKUP_ANGLE_V | ( | v | ) |
Referenced by kernel_ies_interp().
| CCL_NAMESPACE_BEGIN ccl_device_inline float interpolate_ies_vertical | ( | KernelGlobals | kg, |
| const int | ofs, | ||
| const bool | wrap_vlow, | ||
| const bool | wrap_vhigh, | ||
| const int | v, | ||
| const int | v_num, | ||
| const float | v_frac, | ||
| const int | h ) |
Definition at line 13 of file kernel/util/ies.h.
References b, ccl_device_inline, cubic_interp(), IES_LOOKUP, and v.
Referenced by kernel_ies_interp().
| ccl_device_inline float kernel_ies_interp | ( | KernelGlobals | kg, |
| const int | slot, | ||
| const float | h_angle, | ||
| const float | v_angle ) |
Definition at line 58 of file kernel/util/ies.h.
References __float_as_int, b, ccl_device_inline, cubic_interp(), IES_LOOKUP_ANGLE_H, IES_LOOKUP_ANGLE_V, interpolate_ies_vertical(), inverse_lerp(), kernel_data_fetch, M_2PI_F, M_PI_F, and max.
Referenced by rs_texture(), svm_node_ies(), and OSLRenderServices::texture().