|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | HairBsdf |
Variables | |
| CCL_NAMESPACE_BEGIN typedef ccl_addr_space struct HairBsdf | HairBsdf |
| ccl_device bool bsdf_hair_merge | ( | const ShaderClosure * | a, |
| const ShaderClosure * | b | ||
| ) |
Definition at line 65 of file bsdf_hair.h.
References Freestyle::a, isequal_float3(), HairBsdf::offset, HairBsdf::roughness1, HairBsdf::roughness2, and HairBsdf::T.
Referenced by bsdf_merge().
| ccl_device float3 bsdf_hair_reflection_eval_reflect | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 74 of file bsdf_hair.h.
References dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), I, M_PI_2_F, M_PI_F, make_float3, normalize(), HairBsdf::offset, HairBsdf::roughness1, HairBsdf::roughness2, HairBsdf::T, and t.
Referenced by bsdf_eval().
| ccl_device float3 bsdf_hair_reflection_eval_transmit | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
| ccl_device int bsdf_hair_reflection_sample | ( | const ShaderClosure * | sc, |
| float3 | Ng, | ||
| float3 | I, | ||
| float3 | dIdx, | ||
| float3 | dIdy, | ||
| float | randu, | ||
| float | randv, | ||
| float3 * | eval, | ||
| float3 * | omega_in, | ||
| float3 * | domega_in_dx, | ||
| float3 * | domega_in_dy, | ||
| float * | |||
| ) |
Definition at line 183 of file bsdf_hair.h.
References cross(), dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), fast_sincosf(), I, LABEL_GLOSSY, LABEL_REFLECT, M_PI_2_F, make_float3, normalize(), HairBsdf::offset, HairBsdf::roughness1, HairBsdf::roughness2, safe_asinf(), HairBsdf::T, t, and tanf.
Referenced by bsdf_sample().
| ccl_device int bsdf_hair_reflection_setup | ( | HairBsdf * | bsdf | ) |
Definition at line 49 of file bsdf_hair.h.
References clamp(), CLOSURE_BSDF_HAIR_REFLECTION_ID, HairBsdf::roughness1, HairBsdf::roughness2, SD_BSDF, and SD_BSDF_HAS_EVAL.
Referenced by svm_node_closure_bsdf().
| ccl_device float3 bsdf_hair_transmission_eval_reflect | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
| ccl_device float3 bsdf_hair_transmission_eval_transmit | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 137 of file bsdf_hair.h.
References dot(), fabsf, fast_acosf(), fast_atan2f(), fast_cosf(), I, M_PI_2_F, M_PI_F, make_float3, normalize(), HairBsdf::offset, HairBsdf::roughness1, HairBsdf::roughness2, HairBsdf::T, and t.
Referenced by bsdf_eval().
| ccl_device int bsdf_hair_transmission_sample | ( | const ShaderClosure * | sc, |
| float3 | Ng, | ||
| float3 | I, | ||
| float3 | dIdx, | ||
| float3 | dIdy, | ||
| float | randu, | ||
| float | randv, | ||
| float3 * | eval, | ||
| float3 * | omega_in, | ||
| float3 * | domega_in_dx, | ||
| float3 * | domega_in_dy, | ||
| float * | |||
| ) |
Definition at line 244 of file bsdf_hair.h.
References cross(), dot(), fabsf, fast_acosf(), fast_atan2f(), fast_sincosf(), I, kernel_assert, LABEL_GLOSSY, LABEL_TRANSMIT, M_PI_2_F, M_PI_F, make_float3, normalize(), HairBsdf::offset, HairBsdf::roughness1, HairBsdf::roughness2, HairBsdf::T, t, and tanf.
Referenced by bsdf_sample().
| ccl_device int bsdf_hair_transmission_setup | ( | HairBsdf * | bsdf | ) |
Definition at line 57 of file bsdf_hair.h.
References clamp(), CLOSURE_BSDF_HAIR_TRANSMISSION_ID, HairBsdf::roughness1, HairBsdf::roughness2, SD_BSDF, and SD_BSDF_HAS_EVAL.
Referenced by svm_node_closure_bsdf().
| CCL_NAMESPACE_BEGIN typedef ccl_addr_space struct HairBsdf HairBsdf |