|
Blender V4.3
|
Go to the source code of this file.
Macros | |
| #define | CURVE_SHADOW_TRANSPARENCY_CUTOFF 0.001f |
| #define CURVE_SHADOW_TRANSPARENCY_CUTOFF 0.001f |
Definition at line 213 of file cycles/kernel/bvh/util.h.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), BVH(), and kernel_embree_filter_occluded_shadow_all_func_impl().
| ccl_device_inline float intersection_curve_shadow_transparency | ( | KernelGlobals | kg, |
| const int | object, | ||
| const int | prim, | ||
| const int | type, | ||
| const float | u ) |
Definition at line 215 of file cycles/kernel/bvh/util.h.
References ATTR_STD_NOT_FOUND, ATTR_STD_SHADOW_TRANSPARENCY, KernelCurve::first_key, intersection_find_attribute(), kernel_data_fetch, and PRIMITIVE_UNPACK_SEGMENT.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), BVH(), and kernel_embree_filter_occluded_shadow_all_func_impl().
| ccl_device_inline int intersection_find_attribute | ( | KernelGlobals | kg, |
| const int | object, | ||
| const uint | id ) |
Definition at line 183 of file cycles/kernel/bvh/util.h.
References ATTR_ELEMENT_NONE, ATTR_PRIM_TYPES, ATTR_STD_NONE, ATTR_STD_NOT_FOUND, AttributeMap::element, AttributeMap::id, int, kernel_data_fetch, AttributeMap::offset, and UNLIKELY.
Referenced by intersection_curve_shadow_transparency(), motion_triangle_normals(), and motion_triangle_vertices().
| ccl_device_forceinline int intersection_get_object_flags | ( | KernelGlobals | kg, |
| ccl_private const Intersection *ccl_restrict | isect ) |
Definition at line 175 of file cycles/kernel/bvh/util.h.
References kernel_data_fetch.
Referenced by integrator_intersect_next_kernel(), and integrator_intersect_next_kernel_after_volume().
| ccl_device_forceinline int intersection_get_shader | ( | KernelGlobals | kg, |
| ccl_private const Intersection *ccl_restrict | isect ) |
Definition at line 169 of file cycles/kernel/bvh/util.h.
References intersection_get_shader_from_isect_prim().
Referenced by integrator_intersect_next_kernel(), and integrator_intersect_next_kernel_after_volume().
| ccl_device_forceinline int intersection_get_shader_flags | ( | KernelGlobals | kg, |
| const int | prim, | ||
| const int | type ) |
Definition at line 123 of file cycles/kernel/bvh/util.h.
References kernel_data_fetch, PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, and SHADER_MASK.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), BVH(), and kernel_embree_filter_occluded_shadow_all_func_impl().
| ccl_device_forceinline int intersection_get_shader_from_isect_prim | ( | KernelGlobals | kg, |
| const int | prim, | ||
| const int | isect_type ) |
Definition at line 146 of file cycles/kernel/bvh/util.h.
References kernel_data_fetch, PRIMITIVE_CURVE, PRIMITIVE_POINT, PRIMITIVE_TRIANGLE, and SHADER_MASK.
Referenced by intersection_get_shader().
| CCL_NAMESPACE_BEGIN ccl_device_inline bool intersection_ray_valid | ( | ccl_private const Ray * | ray | ) |
Definition at line 9 of file cycles/kernel/bvh/util.h.
References isfinite_safe(), and len_squared().
Referenced by scene_intersect().
| ccl_device_inline bool intersection_skip_self | ( | ccl_ray_data const RaySelfPrimitives & | self, |
| const int | object, | ||
| const int | prim ) |
Definition at line 236 of file cycles/kernel/bvh/util.h.
References self.
Referenced by __anyhit__kernel_optix_visibility_test(), __anyhit__kernel_optix_volume_test(), BVH(), BVH(), and kernel_embree_filter_occluded_volume_all_func_impl().
| ccl_device_inline bool intersection_skip_self_local | ( | ccl_ray_data const RaySelfPrimitives & | self, |
| const int | prim ) |
Definition at line 251 of file cycles/kernel/bvh/util.h.
References self.
Referenced by __anyhit__kernel_optix_local_hit(), BVH(), and kernel_embree_filter_occluded_local_func_impl().
| ccl_device_inline bool intersection_skip_self_shadow | ( | ccl_ray_data const RaySelfPrimitives & | self, |
| const int | object, | ||
| const int | prim ) |
Definition at line 243 of file cycles/kernel/bvh/util.h.
References self.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), BVH(), BVH(), kernel_embree_filter_occluded_shadow_all_func_impl(), and kernel_embree_is_self_intersection().
| ccl_device_inline bool intersection_skip_shadow_link | ( | KernelGlobals | kg, |
| ccl_ray_data const RaySelfPrimitives & | self, | ||
| const int | isect_object ) |
Definition at line 273 of file cycles/kernel/bvh/util.h.
References kernel_data, kernel_data_fetch, KERNEL_FEATURE_SHADOW_LINKING, LIGHT_LINK_MASK_ALL, and self.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), __anyhit__kernel_optix_visibility_test(), BVH(), BVH(), kernel_embree_filter_intersection_func_impl(), and kernel_embree_filter_occluded_shadow_all_func_impl().
| ccl_device_forceinline float intersection_t_offset | ( | const float | t | ) |
Definition at line 30 of file cycles/kernel/bvh/util.h.
References __float_as_uint, __uint_as_float, isfinite_safe(), kernel_assert, and result.
Referenced by integrate_light(), integrate_surface_bsdf_bssrdf_bounce(), and integrator_volume_stack_update_for_subsurface().
| ccl_device int intersections_compare | ( | const void * | a, |
| const void * | b ) |
Definition at line 83 of file cycles/kernel/bvh/util.h.
References b, and Intersection::t.
Referenced by integrator_volume_stack_update_for_subsurface().
| ccl_device_inline float3 ray_offset | ( | const float3 | P, |
| const float3 | Ng ) |
Definition at line 65 of file cycles/kernel/bvh/util.h.
References __float_as_int, __int_as_float, fabsf, make_float3(), make_int3(), P, float3::x, int3::x, float3::y, int3::y, float3::z, and int3::z.
Referenced by integrate_surface_ray_offset().
| ccl_device_inline void sort_intersections_and_normals | ( | ccl_private Intersection * | hits, |
| ccl_private float3 * | Ng, | ||
| uint | num_hits ) |
Definition at line 99 of file cycles/kernel/bvh/util.h.