Blender V5.3
math_spherical_harmonics.h File Reference

Go to the source code of this file.

Functions

template<int L, int M>
CCL_NAMESPACE_BEGIN ccl_device_inline float spherical_harmonics_polynomial_form (float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 0, 0 > (const float3)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 1, -1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 1, 0 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 1, 1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 2, -2 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 2, -1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 2, 0 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 2, 1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 2, 2 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, -3 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, -2 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, -1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, 0 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, 1 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, 2 > (const float3 v)
ccl_device_template_spec float spherical_harmonics_polynomial_form< 3, 3 > (const float3 v)
template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L0 (const float3 direction, const T M0)
template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L1 (const float3 direction, const T Mn1, const T M0, const T Mp1)
template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L2 (const float3 direction, const T Mn2, const T Mn1, const T M0, const T Mp1, const T Mp2)
template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L3 (const float3 direction, const T Mn3, const T Mn2, const T Mn1, const T M0, const T Mp1, const T Mp2, const T Mp3)
ccl_device_inline float3 spherical_harmonics_evaluate_rest (const ccl_global PackedSphericalHarmonicsRest &packed_spherical_harmonics_rest, const float3 direction)

Function Documentation

◆ spherical_harmonics_evaluate_band_L0()

template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L0 ( const float3 direction,
const T M0 )

◆ spherical_harmonics_evaluate_band_L1()

template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L1 ( const float3 direction,
const T Mn1,
const T M0,
const T Mp1 )

◆ spherical_harmonics_evaluate_band_L2()

template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L2 ( const float3 direction,
const T Mn2,
const T Mn1,
const T M0,
const T Mp1,
const T Mp2 )

◆ spherical_harmonics_evaluate_band_L3()

template<class T>
ccl_device_forceinline T spherical_harmonics_evaluate_band_L3 ( const float3 direction,
const T Mn3,
const T Mn2,
const T Mn1,
const T M0,
const T Mp1,
const T Mp2,
const T Mp3 )

◆ spherical_harmonics_evaluate_rest()

◆ spherical_harmonics_polynomial_form()

◆ spherical_harmonics_polynomial_form< 0, 0 >()

◆ spherical_harmonics_polynomial_form< 1, -1 >()

◆ spherical_harmonics_polynomial_form< 1, 0 >()

◆ spherical_harmonics_polynomial_form< 1, 1 >()

◆ spherical_harmonics_polynomial_form< 2, -1 >()

◆ spherical_harmonics_polynomial_form< 2, -2 >()

◆ spherical_harmonics_polynomial_form< 2, 0 >()

◆ spherical_harmonics_polynomial_form< 2, 1 >()

◆ spherical_harmonics_polynomial_form< 2, 2 >()

◆ spherical_harmonics_polynomial_form< 3, -1 >()

◆ spherical_harmonics_polynomial_form< 3, -2 >()

◆ spherical_harmonics_polynomial_form< 3, -3 >()

◆ spherical_harmonics_polynomial_form< 3, 0 >()

◆ spherical_harmonics_polynomial_form< 3, 1 >()

◆ spherical_harmonics_polynomial_form< 3, 2 >()

◆ spherical_harmonics_polynomial_form< 3, 3 >()