|
Blender V5.3
|
#include "kernel/bvh/intersect_filter.h"Go to the source code of this file.
Classes | |
| struct | LocalPayload |
Functions | |
| ccl_device_forceinline void | set_hiprt_ray (const ccl_private Ray &ray, ccl_private hiprtRay &ray_hip) |
| ccl_device_inline void | set_intersect_point (const hiprtHit &hit, ccl_private Intersection *isect) |
| ccl_device_inline bool | curve_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit) |
| ccl_device_inline bool | motion_triangle_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit) |
| ccl_device_inline bool | motion_triangle_custom_local_intersect (const hiprtRay &ray, LocalPayload *payload, hiprtHit &hit) |
| ccl_device_inline bool | motion_triangle_custom_volume_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit) |
| ccl_device_inline bool | point_custom_intersect (const hiprtRay &ray, BVHPayload *payload, hiprtHit &hit) |
| ccl_device_inline bool | closest_intersection_filter (const hiprtRay &ray, BVHPayload *payload, const hiprtHit &hit) |
| ccl_device_inline bool | shadow_intersection_filter (const hiprtRay &ray, BVHShadowAllPayload *payload, const hiprtHit &hit) |
| ccl_device_inline bool | shadow_intersection_filter_curve (const hiprtRay &ray, BVHShadowAllPayload *payload, const hiprtHit &hit) |
| ccl_device_inline bool | local_intersection_filter (const hiprtRay &ray, LocalPayload *payload, const hiprtHit &hit) |
| ccl_device_inline bool | volume_triangle_intersection_filter (const hiprtRay &ray, BVHPayload *payload, const hiprtHit &hit) |
| HIPRT_DEVICE bool | intersectFunc (const uint geom_type, const uint ray_type, const hiprtFuncTableHeader &tableHeader, const hiprtRay &ray, void *payload, hiprtHit &hit) |
| HIPRT_DEVICE bool | filterFunc (const uint geom_type, const uint ray_type, const hiprtFuncTableHeader &tableHeader, const hiprtRay &ray, void *payload, const hiprtHit &hit) |
| ccl_device_intersect bool | scene_intersect (KernelGlobals kg, const ccl_private Ray *ray, const uint visibility, ccl_private Intersection *isect) |
| ccl_device_intersect bool | scene_intersect_shadow (KernelGlobals kg, const ccl_private Ray *ray, const uint visibility) |
| ccl_device_inline bool closest_intersection_filter | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 273 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, closest_intersection_filter(), intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, and BVHPayload::ray_self.
Referenced by closest_intersection_filter(), and filterFunc().
| ccl_device_inline bool curve_custom_intersect | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 62 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, curve_custom_intersect(), intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, BVHPayload::ray_self, Intersection::t, Intersection::u, and Intersection::v.
Referenced by curve_custom_intersect(), and intersectFunc().
| HIPRT_DEVICE bool filterFunc | ( | const uint | geom_type, |
| const uint | ray_type, | ||
| const hiprtFuncTableHeader & | tableHeader, | ||
| const hiprtRay & | ray, | ||
| void * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 423 of file kernel/device/hiprt/bvh.h.
References closest_intersection_filter(), Curve_Filter_Shadow, filterFunc(), index, local_intersection_filter(), Motion_Triangle_Filter_Local, Motion_Triangle_Filter_Shadow, Motion_Triangle_Filter_Volume, Point_Filter_Shadow, shadow_intersection_filter(), shadow_intersection_filter_curve(), Triangle_Filter_Closest, Triangle_Filter_Local, Triangle_Filter_Shadow, Triangle_Filter_Volume, and volume_triangle_intersection_filter().
Referenced by filterFunc().
| HIPRT_DEVICE bool intersectFunc | ( | const uint | geom_type, |
| const uint | ray_type, | ||
| const hiprtFuncTableHeader & | tableHeader, | ||
| const hiprtRay & | ray, | ||
| void * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 395 of file kernel/device/hiprt/bvh.h.
References curve_custom_intersect(), Curve_Intersect_Function, Curve_Intersect_Shadow, index, intersectFunc(), motion_triangle_custom_intersect(), motion_triangle_custom_local_intersect(), motion_triangle_custom_volume_intersect(), Motion_Triangle_Intersect_Function, Motion_Triangle_Intersect_Local, Motion_Triangle_Intersect_Shadow, Motion_Triangle_Intersect_Volume, point_custom_intersect(), Point_Intersect_Function, and Point_Intersect_Shadow.
Referenced by intersectFunc().
| ccl_device_inline bool local_intersection_filter | ( | const hiprtRay & | ray, |
| LocalPayload * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 320 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, LocalIntersection::hits, intersection_skip_self_local(), kernel_data_fetch, LocalPayload::lcg_state, local_intersection_filter(), LocalPayload::local_isect, LocalPayload::local_object, LocalPayload::max_hits, LocalIntersection::Ng, Intersection::object, Intersection::prim, PRIMITIVE_TRIANGLE, LocalPayload::self, Intersection::t, Intersection::type, Intersection::u, and Intersection::v.
Referenced by filterFunc(), and local_intersection_filter().
| ccl_device_inline bool motion_triangle_custom_intersect | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 109 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, intersection_skip_self_shadow(), kernel_data_fetch, motion_triangle_custom_intersect(), motion_triangle_intersect(), BVHPayload::ray_self, BVHPayload::ray_visibility, Intersection::t, Intersection::u, and Intersection::v.
Referenced by intersectFunc(), and motion_triangle_custom_intersect().
| ccl_device_inline bool motion_triangle_custom_local_intersect | ( | const hiprtRay & | ray, |
| LocalPayload * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 146 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, intersection_skip_self_local(), kernel_data_fetch, LocalPayload::lcg_state, LocalPayload::local_isect, LocalPayload::local_object, LocalPayload::max_hits, motion_triangle_custom_local_intersect(), LocalPayload::ray_time, and LocalPayload::self.
Referenced by intersectFunc(), and motion_triangle_custom_local_intersect().
| ccl_device_inline bool motion_triangle_custom_volume_intersect | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 179 of file kernel/device/hiprt/bvh.h.
References bvh_volume_anyhit_triangle_filter(), ccl_device_inline, kernel_data_fetch, motion_triangle_custom_volume_intersect(), motion_triangle_intersect(), BVHPayload::ray_self, BVHPayload::ray_visibility, Intersection::t, Intersection::u, and Intersection::v.
Referenced by intersectFunc(), and motion_triangle_custom_volume_intersect().
| ccl_device_inline bool point_custom_intersect | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| hiprtHit & | hit ) |
Definition at line 221 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, intersection_skip_self_shadow(), intersection_skip_shadow_link(), kernel_data_fetch, point_custom_intersect(), BVHPayload::ray_self, Intersection::t, Intersection::u, and Intersection::v.
Referenced by intersectFunc(), and point_custom_intersect().
| ccl_device_intersect bool scene_intersect | ( | KernelGlobals | kg, |
| const ccl_private Ray * | ray, | ||
| const uint | visibility, | ||
| ccl_private Intersection * | isect ) |
Definition at line 458 of file kernel/device/hiprt/bvh.h.
References ccl_device_intersect, ccl_private, intersection_ray_valid(), kernel_data, OBJECT_NONE, PATH_RAY_VISIBILITY_SHADOW_OPAQUE, PRIM_NONE, PRIMITIVE_NONE, BVHPayload::ray_self, BVHPayload::ray_visibility, scene_intersect(), set_hiprt_ray(), and set_intersect_point().
| ccl_device_intersect bool scene_intersect_shadow | ( | KernelGlobals | kg, |
| const ccl_private Ray * | ray, | ||
| const uint | visibility ) |
Definition at line 527 of file kernel/device/hiprt/bvh.h.
References ccl_device_intersect, ccl_private, scene_intersect(), and scene_intersect_shadow().
| ccl_device_forceinline void set_hiprt_ray | ( | const ccl_private Ray & | ray, |
| ccl_private hiprtRay & | ray_hip ) |
Definition at line 24 of file kernel/device/hiprt/bvh.h.
References ccl_device_forceinline, ccl_private, and set_hiprt_ray().
Referenced by scene_intersect(), and set_hiprt_ray().
| ccl_device_inline void set_intersect_point | ( | const hiprtHit & | hit, |
| ccl_private Intersection * | isect ) |
Definition at line 33 of file kernel/device/hiprt/bvh.h.
References ccl_device_inline, ccl_private, kernel_data_fetch, PRIMITIVE_CURVE, and set_intersect_point().
Referenced by scene_intersect(), set_intersect_point(), shadow_intersection_filter(), and shadow_intersection_filter_curve().
| ccl_device_inline bool shadow_intersection_filter | ( | const hiprtRay & | ray, |
| BVHShadowAllPayload * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 296 of file kernel/device/hiprt/bvh.h.
References bvh_shadow_all_anyhit_filter(), ccl_device_inline, set_intersect_point(), and shadow_intersection_filter().
Referenced by filterFunc(), and shadow_intersection_filter().
| ccl_device_inline bool shadow_intersection_filter_curve | ( | const hiprtRay & | ray, |
| BVHShadowAllPayload * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 308 of file kernel/device/hiprt/bvh.h.
References bvh_shadow_all_anyhit_filter(), ccl_device_inline, set_intersect_point(), and shadow_intersection_filter_curve().
Referenced by filterFunc(), and shadow_intersection_filter_curve().
| ccl_device_inline bool volume_triangle_intersection_filter | ( | const hiprtRay & | ray, |
| BVHPayload * | payload, | ||
| const hiprtHit & | hit ) |
Definition at line 376 of file kernel/device/hiprt/bvh.h.
References bvh_volume_anyhit_triangle_filter(), ccl_device_inline, kernel_data_fetch, BVHPayload::ray_self, BVHPayload::ray_visibility, and volume_triangle_intersection_filter().
Referenced by filterFunc(), and volume_triangle_intersection_filter().