Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | HairBsdf |
Typedefs | |
typedef CCL_NAMESPACE_BEGIN struct HairBsdf | HairBsdf |
typedef CCL_NAMESPACE_BEGIN struct HairBsdf HairBsdf |
ccl_device float3 bsdf_hair_reflection_eval_reflect | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
Definition at line 40 of file bsdf_hair.h.
References ccl_private, blender::math::dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), I, M_PI_2_F, M_PI_F, make_float3, blender::math::normalize(), offset, and t.
Referenced by bsdf_eval().
ccl_device float3 bsdf_hair_reflection_eval_transmit | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
ccl_device int bsdf_hair_reflection_sample | ( | ccl_private const ShaderClosure * | sc, |
float3 | Ng, | ||
float3 | I, | ||
float3 | dIdx, | ||
float3 | dIdy, | ||
float | randu, | ||
float | randv, | ||
ccl_private float3 * | eval, | ||
ccl_private float3 * | omega_in, | ||
ccl_private float3 * | domega_in_dx, | ||
ccl_private float3 * | domega_in_dy, | ||
ccl_private float * | |||
) |
Definition at line 151 of file bsdf_hair.h.
References ccl_private, blender::math::cross(), blender::math::dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), fast_sincosf(), I, LABEL_GLOSSY, LABEL_REFLECT, M_PI_2_F, make_float3, blender::math::normalize(), offset, safe_asinf(), t, and tanf.
Referenced by bsdf_sample().
ccl_device int bsdf_hair_reflection_setup | ( | ccl_private HairBsdf * | bsdf | ) |
Definition at line 24 of file bsdf_hair.h.
References blender::math::clamp(), CLOSURE_BSDF_HAIR_REFLECTION_ID, SD_BSDF, and SD_BSDF_HAS_EVAL.
Referenced by svm_node_closure_bsdf().
ccl_device float3 bsdf_hair_transmission_eval_reflect | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
ccl_device float3 bsdf_hair_transmission_eval_transmit | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
Definition at line 105 of file bsdf_hair.h.
References ccl_private, blender::math::dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), I, M_PI_2_F, M_PI_F, make_float3, blender::math::normalize(), offset, and t.
Referenced by bsdf_eval().
ccl_device int bsdf_hair_transmission_sample | ( | ccl_private const ShaderClosure * | sc, |
float3 | Ng, | ||
float3 | I, | ||
float3 | dIdx, | ||
float3 | dIdy, | ||
float | randu, | ||
float | randv, | ||
ccl_private float3 * | eval, | ||
ccl_private float3 * | omega_in, | ||
ccl_private float3 * | domega_in_dx, | ||
ccl_private float3 * | domega_in_dy, | ||
ccl_private float * | |||
) |
Definition at line 212 of file bsdf_hair.h.
References ccl_private, blender::math::cross(), blender::math::dot(), fabsf, fast_acosf(), fast_atan2f(), fast_sincosf(), I, kernel_assert, LABEL_GLOSSY, LABEL_TRANSMIT, M_PI_2_F, M_PI_F, make_float3, blender::math::normalize(), offset, t, and tanf.
Referenced by bsdf_sample().
ccl_device int bsdf_hair_transmission_setup | ( | ccl_private HairBsdf * | bsdf | ) |
Definition at line 32 of file bsdf_hair.h.
References blender::math::clamp(), CLOSURE_BSDF_HAIR_TRANSMISSION_ID, SD_BSDF, and SD_BSDF_HAS_EVAL.
Referenced by svm_node_closure_bsdf().