|
Blender V4.3
|
#include "kernel/closure/volume_util.h"Go to the source code of this file.
Classes | |
| struct | HenyeyGreensteinVolume |
Typedefs | |
| typedef CCL_NAMESPACE_BEGIN struct HenyeyGreensteinVolume | HenyeyGreensteinVolume |
Functions | |
| ccl_device int | volume_henyey_greenstein_setup (ccl_private HenyeyGreensteinVolume *volume) |
| ccl_device Spectrum | volume_henyey_greenstein_eval (ccl_private const ShaderData *sd, ccl_private const ShaderVolumeClosure *svc, float3 wo, ccl_private float *pdf) |
| ccl_device int | volume_henyey_greenstein_sample (ccl_private const ShaderData *sd, ccl_private const ShaderVolumeClosure *svc, float2 rand, ccl_private Spectrum *eval, ccl_private float3 *wo, ccl_private float *pdf) |
| typedef CCL_NAMESPACE_BEGIN struct HenyeyGreensteinVolume HenyeyGreensteinVolume |
| ccl_device Spectrum volume_henyey_greenstein_eval | ( | ccl_private const ShaderData * | sd, |
| ccl_private const ShaderVolumeClosure * | svc, | ||
| float3 | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 30 of file volume_henyey_greenstein.h.
References ccl_private, cos_theta(), dot(), make_spectrum, and phase_henyey_greenstein().
Referenced by volume_phase_eval().
| ccl_device int volume_henyey_greenstein_sample | ( | ccl_private const ShaderData * | sd, |
| ccl_private const ShaderVolumeClosure * | svc, | ||
| float2 | rand, | ||
| ccl_private Spectrum * | eval, | ||
| ccl_private float3 * | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 45 of file volume_henyey_greenstein.h.
References ccl_private, LABEL_VOLUME_SCATTER, make_spectrum, and phase_henyey_greenstein_sample().
Referenced by volume_phase_sample().
| ccl_device int volume_henyey_greenstein_setup | ( | ccl_private HenyeyGreensteinVolume * | volume | ) |
Definition at line 21 of file volume_henyey_greenstein.h.
References CLOSURE_VOLUME_HENYEY_GREENSTEIN_ID, fabsf, HenyeyGreensteinVolume::g, min, SD_SCATTER, and signf().
Referenced by osl_closure_henyey_greenstein_setup(), svm_node_closure_volume(), and svm_node_principled_volume().