|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| ccl_device_forceinline Transform | bvh_unaligned_node_fetch_space (KernelGlobals kg, int node_addr, int child) |
| ccl_device_forceinline int | bvh_aligned_node_intersect (KernelGlobals kg, const float3 P, const float3 idir, const float tmin, const float tmax, const int node_addr, const uint visibility, float dist[2]) |
| ccl_device_forceinline bool | bvh_unaligned_node_intersect_child (KernelGlobals kg, const float3 P, const float3 dir, const float tmin, const float tmax, int node_addr, int child, float dist[2]) |
| ccl_device_forceinline int | bvh_unaligned_node_intersect (KernelGlobals kg, const float3 P, const float3 dir, const float3 idir, const float tmin, const float tmax, const int node_addr, const uint visibility, float dist[2]) |
| ccl_device_forceinline int | bvh_node_intersect (KernelGlobals kg, const float3 P, const float3 dir, const float3 idir, const float tmin, const float tmax, const int node_addr, const uint visibility, float dist[2]) |
| ccl_device_forceinline int bvh_aligned_node_intersect | ( | KernelGlobals | kg, |
| const float3 | P, | ||
| const float3 | idir, | ||
| const float | tmin, | ||
| const float | tmax, | ||
| const int | node_addr, | ||
| const uint | visibility, | ||
| float | dist[2] ) |
Definition at line 19 of file nodes.h.
References __float_as_uint, kernel_data_fetch, max, max4(), min, min4(), P, float3::x, float3::y, and float3::z.
Referenced by bvh_node_intersect().
| ccl_device_forceinline int bvh_node_intersect | ( | KernelGlobals | kg, |
| const float3 | P, | ||
| const float3 | dir, | ||
| const float3 | idir, | ||
| const float | tmin, | ||
| const float | tmax, | ||
| const int | node_addr, | ||
| const uint | visibility, | ||
| float | dist[2] ) |
Definition at line 128 of file nodes.h.
References __float_as_uint, bvh_aligned_node_intersect(), bvh_unaligned_node_intersect(), kernel_data_fetch, P, and PATH_RAY_NODE_UNALIGNED.
| ccl_device_forceinline Transform bvh_unaligned_node_fetch_space | ( | KernelGlobals | kg, |
| int | node_addr, | ||
| int | child ) |
Definition at line 7 of file nodes.h.
References kernel_data_fetch, and Transform::x.
Referenced by bvh_unaligned_node_intersect_child().
| ccl_device_forceinline int bvh_unaligned_node_intersect | ( | KernelGlobals | kg, |
| const float3 | P, | ||
| const float3 | dir, | ||
| const float3 | idir, | ||
| const float | tmin, | ||
| const float | tmax, | ||
| const int | node_addr, | ||
| const uint | visibility, | ||
| float | dist[2] ) |
Definition at line 95 of file nodes.h.
References __float_as_uint, bvh_unaligned_node_intersect_child(), kernel_data_fetch, mask(), and P.
Referenced by bvh_node_intersect().
| ccl_device_forceinline bool bvh_unaligned_node_intersect_child | ( | KernelGlobals | kg, |
| const float3 | P, | ||
| const float3 | dir, | ||
| const float | tmin, | ||
| const float | tmax, | ||
| int | node_addr, | ||
| int | child, | ||
| float | dist[2] ) |
Definition at line 68 of file nodes.h.
References bvh_inverse_direction(), bvh_unaligned_node_fetch_space(), max, max4(), min, min4(), P, transform_direction(), transform_point(), float3::x, float3::y, and float3::z.
Referenced by bvh_unaligned_node_intersect().