Blender  V3.3
Macros | Functions
cycles/kernel/bvh/util.h File Reference

Go to the source code of this file.

Macros

#define CURVE_SHADOW_TRANSPARENCY_CUTOFF   0.001f
 

Functions

CCL_NAMESPACE_BEGIN ccl_device_inline bool intersection_ray_valid (ccl_private const Ray *ray)
 
ccl_device_forceinline float intersection_t_offset (const float t)
 
ccl_device_inline float3 ray_offset (const float3 P, const float3 Ng)
 
ccl_device int intersections_compare (const void *a, const void *b)
 
ccl_device_inline void sort_intersections_and_normals (ccl_private Intersection *hits, ccl_private float3 *Ng, uint num_hits)
 
ccl_device_forceinline int intersection_get_shader_flags (KernelGlobals kg, const int prim, const int type)
 
ccl_device_forceinline int intersection_get_shader_from_isect_prim (KernelGlobals kg, const int prim, const int isect_type)
 
ccl_device_forceinline int intersection_get_shader (KernelGlobals kg, ccl_private const Intersection *ccl_restrict isect)
 
ccl_device_forceinline int intersection_get_object_flags (KernelGlobals kg, ccl_private const Intersection *ccl_restrict isect)
 
ccl_device_inline int intersection_find_attribute (KernelGlobals kg, const int object, const uint id)
 
ccl_device_inline float intersection_curve_shadow_transparency (KernelGlobals kg, const int object, const int prim, const int type, const float u)
 
ccl_device_inline bool intersection_skip_self (ccl_private const RaySelfPrimitives &self, const int object, const int prim)
 
ccl_device_inline bool intersection_skip_self_shadow (ccl_private const RaySelfPrimitives &self, const int object, const int prim)
 
ccl_device_inline bool intersection_skip_self_local (ccl_private const RaySelfPrimitives &self, const int prim)
 

Macro Definition Documentation

◆ CURVE_SHADOW_TRANSPARENCY_CUTOFF

#define CURVE_SHADOW_TRANSPARENCY_CUTOFF   0.001f

Definition at line 191 of file cycles/kernel/bvh/util.h.

Function Documentation

◆ intersection_curve_shadow_transparency()

ccl_device_inline float intersection_curve_shadow_transparency ( KernelGlobals  kg,
const int  object,
const int  prim,
const int  type,
const float  u 
)

◆ intersection_find_attribute()

ccl_device_inline int intersection_find_attribute ( KernelGlobals  kg,
const int  object,
const uint  id 
)

◆ intersection_get_object_flags()

ccl_device_forceinline int intersection_get_object_flags ( KernelGlobals  kg,
ccl_private const Intersection *ccl_restrict  isect 
)

◆ intersection_get_shader()

ccl_device_forceinline int intersection_get_shader ( KernelGlobals  kg,
ccl_private const Intersection *ccl_restrict  isect 
)

◆ intersection_get_shader_flags()

ccl_device_forceinline int intersection_get_shader_flags ( KernelGlobals  kg,
const int  prim,
const int  type 
)

◆ intersection_get_shader_from_isect_prim()

ccl_device_forceinline int intersection_get_shader_from_isect_prim ( KernelGlobals  kg,
const int  prim,
const int  isect_type 
)

◆ intersection_ray_valid()

CCL_NAMESPACE_BEGIN ccl_device_inline bool intersection_ray_valid ( ccl_private const Ray ray)

Definition at line 8 of file cycles/kernel/bvh/util.h.

References isfinite_safe(), and len_squared().

Referenced by scene_intersect().

◆ intersection_skip_self()

ccl_device_inline bool intersection_skip_self ( ccl_private const RaySelfPrimitives self,
const int  object,
const int  prim 
)

◆ intersection_skip_self_local()

ccl_device_inline bool intersection_skip_self_local ( ccl_private const RaySelfPrimitives self,
const int  prim 
)

◆ intersection_skip_self_shadow()

ccl_device_inline bool intersection_skip_self_shadow ( ccl_private const RaySelfPrimitives self,
const int  object,
const int  prim 
)

◆ intersection_t_offset()

ccl_device_forceinline float intersection_t_offset ( const float  t)

◆ intersections_compare()

ccl_device int intersections_compare ( const void a,
const void b 
)

◆ ray_offset()

ccl_device_inline float3 ray_offset ( const float3  P,
const float3  Ng 
)

◆ sort_intersections_and_normals()

ccl_device_inline void sort_intersections_and_normals ( ccl_private Intersection hits,
ccl_private float3 Ng,
uint  num_hits 
)

Definition at line 77 of file cycles/kernel/bvh/util.h.

References t.

Referenced by subsurface_disk().