|
Blender V4.3
|
#include "kernel/closure/volume_util.h"Go to the source code of this file.
Classes | |
| struct | FournierForandVolume |
Typedefs | |
| typedef CCL_NAMESPACE_BEGIN struct FournierForandVolume | FournierForandVolume |
Functions | |
| ccl_device int | volume_fournier_forand_setup (ccl_private FournierForandVolume *volume, float B, float IOR) |
| ccl_device Spectrum | volume_fournier_forand_eval (ccl_private const ShaderData *sd, ccl_private const ShaderVolumeClosure *svc, float3 wo, ccl_private float *pdf) |
| ccl_device int | volume_fournier_forand_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 FournierForandVolume FournierForandVolume |
| ccl_device Spectrum volume_fournier_forand_eval | ( | ccl_private const ShaderData * | sd, |
| ccl_private const ShaderVolumeClosure * | svc, | ||
| float3 | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 39 of file volume_fournier_forand.h.
References ccl_private, cos_theta(), dot(), make_float3(), make_spectrum, and phase_fournier_forand().
Referenced by volume_phase_eval().
| ccl_device int volume_fournier_forand_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 54 of file volume_fournier_forand.h.
References ccl_private, LABEL_VOLUME_SCATTER, make_float3(), make_spectrum, and phase_fournier_forand_sample().
Referenced by volume_phase_sample().
| ccl_device int volume_fournier_forand_setup | ( | ccl_private FournierForandVolume * | volume, |
| float | B, | ||
| float | IOR ) |
Definition at line 22 of file volume_fournier_forand.h.
References B, CLOSURE_VOLUME_FOURNIER_FORAND_ID, fabsf, max, min, phase_fournier_forand_coeffs(), SD_SCATTER, float3::x, float3::y, and float3::z.
Referenced by osl_closure_fournier_forand_setup(), and svm_node_closure_volume().