|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_forceinline Transform | bvh_unaligned_node_fetch_space (KernelGlobals kg, const int node_addr, const 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, const int node_addr, const int child, float dist[2]) |
| ccl_device_forceinline int | bvh_unaligned_node_intersect (KernelGlobals kg, const float3 P, const float3 dir, 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 24 of file nodes.h.
References __float_as_uint, ccl_device_forceinline, kernel_data_fetch, max, max4(), min, min4(), P, float4::w, float3::x, float4::x, float3::y, float4::y, float3::z, and float4::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 132 of file nodes.h.
References __float_as_uint, bvh_aligned_node_intersect(), bvh_unaligned_node_intersect(), ccl_device_forceinline, kernel_data_fetch, P, PATH_RAY_NODE_UNALIGNED, and float4::x.
| CCL_NAMESPACE_BEGIN ccl_device_forceinline Transform bvh_unaligned_node_fetch_space | ( | KernelGlobals | kg, |
| const int | node_addr, | ||
| const int | child ) |
Definition at line 12 of file nodes.h.
References ccl_device_forceinline, kernel_data_fetch, Transform::x, Transform::y, and Transform::z.
Referenced by bvh_unaligned_node_intersect_child().
| ccl_device_forceinline int bvh_unaligned_node_intersect | ( | KernelGlobals | kg, |
| const float3 | P, | ||
| const float3 | dir, | ||
| const float | tmin, | ||
| const float | tmax, | ||
| const int | node_addr, | ||
| const uint | visibility, | ||
| float | dist[2] ) |
Definition at line 100 of file nodes.h.
References __float_as_uint, bvh_unaligned_node_intersect_child(), ccl_device_forceinline, kernel_data_fetch, mask(), P, float4::x, and float4::y.
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, | ||
| const int | node_addr, | ||
| const int | child, | ||
| float | dist[2] ) |
Definition at line 73 of file nodes.h.
References bvh_inverse_direction(), bvh_unaligned_node_fetch_space(), ccl_device_forceinline, max, max4(), min, min4(), P, transform_direction(), transform_point(), float3::x, float3::y, and float3::z.
Referenced by bvh_unaligned_node_intersect().