|
Blender
V2.93
|
#include <embree3/rtcore_ray.h>#include <embree3/rtcore_scene.h>#include "kernel/kernel_compat_cpu.h"#include "kernel/split/kernel_split_data_types.h"#include "kernel/kernel_globals.h"#include "util/util_vector.h"Go to the source code of this file.
Classes | |
| struct | CCLIntersectContext |
| class | IntersectContext |
Functions | |
| ccl_device_inline void | kernel_embree_setup_ray (const Ray &ray, RTCRay &rtc_ray, const uint visibility) |
| ccl_device_inline void | kernel_embree_setup_rayhit (const Ray &ray, RTCRayHit &rayhit, const uint visibility) |
| ccl_device_inline void | kernel_embree_convert_hit (KernelGlobals *kg, const RTCRay *ray, const RTCHit *hit, Intersection *isect) |
| ccl_device_inline void | kernel_embree_convert_sss_hit (KernelGlobals *kg, const RTCRay *ray, const RTCHit *hit, Intersection *isect, int local_object_id) |
| ccl_device_inline void kernel_embree_convert_hit | ( | KernelGlobals * | kg, |
| const RTCRay * | ray, | ||
| const RTCHit * | hit, | ||
| Intersection * | isect | ||
| ) |
Definition at line 101 of file kernel/bvh/bvh_embree.h.
References kernel_data, kernel_tex_fetch, make_float3, Intersection::object, OBJECT_NONE, Intersection::prim, Intersection::t, Intersection::type, Intersection::u, and Intersection::v.
Referenced by scene_intersect().
| ccl_device_inline void kernel_embree_convert_sss_hit | ( | KernelGlobals * | kg, |
| const RTCRay * | ray, | ||
| const RTCHit * | hit, | ||
| Intersection * | isect, | ||
| int | local_object_id | ||
| ) |
Definition at line 126 of file kernel/bvh/bvh_embree.h.
References kernel_data, kernel_tex_fetch, make_float3, Intersection::object, Intersection::prim, Intersection::t, Intersection::type, Intersection::u, and Intersection::v.
| ccl_device_inline void kernel_embree_setup_ray | ( | const Ray & | ray, |
| RTCRay & | rtc_ray, | ||
| const uint | visibility | ||
| ) |
Definition at line 76 of file kernel/bvh/bvh_embree.h.
References Ray::D, Ray::P, Ray::t, Ray::time, float3::x, float3::y, and float3::z.
Referenced by kernel_embree_setup_rayhit().
| ccl_device_inline void kernel_embree_setup_rayhit | ( | const Ray & | ray, |
| RTCRayHit & | rayhit, | ||
| const uint | visibility | ||
| ) |
Definition at line 92 of file kernel/bvh/bvh_embree.h.
References kernel_embree_setup_ray().
Referenced by scene_intersect().