Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device_inline float3 | subsurface_disk_eval (const float3 radius, float disk_r, float r) |
ccl_device_inline bool | subsurface_disk (KernelGlobals kg, IntegratorState state, RNGState rng_state, ccl_private Ray &ray, ccl_private LocalIntersection &ss_isect) |
ccl_device_inline bool subsurface_disk | ( | KernelGlobals | kg, |
IntegratorState | state, | ||
RNGState | rng_state, | ||
ccl_private Ray & | ray, | ||
ccl_private LocalIntersection & | ss_isect | ||
) |
Definition at line 21 of file subsurface_disk.h.
References average(), BSSRDF_MAX_HITS, bssrdf_sample(), cosf, differential_zero_compact(), blender::math::dot(), fabs(), fabsf, float(), INTEGRATOR_STATE, INTEGRATOR_STATE_WRITE, kernel_data_fetch, lcg_state_init(), lcg_step_float(), len, M_2PI_F, make_orthonormals(), min, blender::math::normalize(), OBJECT_NONE, P(), PATH_RAY_SUBSURFACE_BACKFACING, path_state_rng_2D(), PRIM_NONE, PRNG_BSDF_U, r, RNGState::rng_hash, RNGState::rng_offset, RNGState::sample, SD_OBJECT_NEGATIVE_SCALE_APPLIED, SD_OBJECT_TRANSFORM_APPLIED, sinf, sort_intersections_and_normals(), sqr(), state, subsurface_disk_eval(), time, transform_direction_transposed(), and w().
CCL_NAMESPACE_BEGIN ccl_device_inline float3 subsurface_disk_eval | ( | const float3 | radius, |
float | disk_r, | ||
float | r | ||
) |
Definition at line 12 of file subsurface_disk.h.
References bssrdf_eval(), bssrdf_pdf(), r, and zero_float3().
Referenced by subsurface_disk().