Blender
V3.3
|
Go to the source code of this file.
Macros | |
#define | OPTIX_DEFINE_ABI_VERSION_ONLY |
Functions | |
template<typename T > | |
CCL_NAMESPACE_BEGIN ccl_device_forceinline T * | get_payload_ptr_0 () |
template<typename T > | |
ccl_device_forceinline T * | get_payload_ptr_2 () |
template<typename T > | |
ccl_device_forceinline T * | get_payload_ptr_6 () |
ccl_device_forceinline int | get_object_id () |
__global__ void | __miss__kernel_optix_miss () |
__global__ void | __anyhit__kernel_optix_local_hit () |
__global__ void | __anyhit__kernel_optix_shadow_all_hit () |
__global__ void | __anyhit__kernel_optix_volume_test () |
__global__ void | __anyhit__kernel_optix_visibility_test () |
__global__ void | __closesthit__kernel_optix_hit () |
ccl_device_intersect bool | scene_intersect (KernelGlobals kg, ccl_private const Ray *ray, const uint visibility, ccl_private Intersection *isect) |
#define OPTIX_DEFINE_ABI_VERSION_ONLY |
Definition at line 11 of file kernel/device/optix/bvh.h.
__global__ void __anyhit__kernel_optix_local_hit | ( | ) |
Definition at line 52 of file kernel/device/optix/bvh.h.
References ccl_private, blender::math::cross(), get_object_id(), LocalIntersection::hits, intersection_skip_self_local(), kernel_data_fetch, lcg_step_uint(), min, LocalIntersection::Ng, blender::math::normalize(), LocalIntersection::num_hits, Intersection::object, Intersection::prim, Intersection::t, Intersection::type, Intersection::u, Intersection::v, float2::x, and float2::y.
__global__ void __anyhit__kernel_optix_shadow_all_hit | ( | ) |
Definition at line 134 of file kernel/device/optix/bvh.h.
References __float_as_uint(), __uint_as_float(), ccl_private, CURVE_SHADOW_TRANSPARENCY_CUTOFF, get_object_id(), INTEGRATOR_SHADOW_ISECT_SIZE, INTEGRATOR_STATE_ARRAY, INTEGRATOR_STATE_ARRAY_WRITE, intersection_curve_shadow_transparency(), intersection_get_shader_flags(), intersection_skip_self_shadow(), kernel_data_fetch, min, NULL, PRIMITIVE_CURVE, PRIMITIVE_MOTION, PRIMITIVE_POINT, SD_HAS_TRANSPARENT_SHADOW, state, t, type, uint16_pack_to_uint(), uint16_unpack_from_uint_0(), uint16_unpack_from_uint_1(), v, float2::x, and float2::y.
__global__ void __anyhit__kernel_optix_visibility_test | ( | ) |
Definition at line 291 of file kernel/device/optix/bvh.h.
References __uint_as_float(), ccl_private, get_object_id(), intersection_skip_self(), intersection_skip_self_shadow(), kernel_data_fetch, PATH_RAY_SHADOW_OPAQUE, PRIMITIVE_MOTION, and PRIMITIVE_POINT.
__global__ void __anyhit__kernel_optix_volume_test | ( | ) |
Definition at line 263 of file kernel/device/optix/bvh.h.
References ccl_private, get_object_id(), intersection_skip_self(), kernel_data_fetch, and SD_OBJECT_HAS_VOLUME.
__global__ void __closesthit__kernel_optix_hit | ( | ) |
Definition at line 342 of file kernel/device/optix/bvh.h.
References __float_as_uint(), get_object_id(), kernel_data_fetch, PRIMITIVE_MOTION, PRIMITIVE_POINT, float2::x, and float2::y.
__global__ void __miss__kernel_optix_miss | ( | ) |
Definition at line 45 of file kernel/device/optix/bvh.h.
References __float_as_uint(), and PRIMITIVE_NONE.
ccl_device_forceinline int get_object_id | ( | ) |
Definition at line 32 of file kernel/device/optix/bvh.h.
Referenced by __anyhit__kernel_optix_local_hit(), __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), __anyhit__kernel_optix_volume_test(), and __closesthit__kernel_optix_hit().
CCL_NAMESPACE_BEGIN ccl_device_forceinline T* get_payload_ptr_0 | ( | ) |
Definition at line 18 of file kernel/device/optix/bvh.h.
ccl_device_forceinline T* get_payload_ptr_2 | ( | ) |
Definition at line 22 of file kernel/device/optix/bvh.h.
ccl_device_forceinline T* get_payload_ptr_6 | ( | ) |
Definition at line 27 of file kernel/device/optix/bvh.h.
References T.
ccl_device_intersect bool scene_intersect | ( | KernelGlobals | kg, |
ccl_private const Ray * | ray, | ||
const uint | visibility, | ||
ccl_private Intersection * | isect | ||
) |
Definition at line 456 of file kernel/device/optix/bvh.h.