1rtcOccludedNp(3) Embree Ray Tracing Kernels 3 rtcOccludedNp(3)
2
3
4
5 NAME
6 rtcOccludedNp - finds any hits for a SOA ray stream of size N
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 void rtcOccludedNp(
12 RTCScene scene,
13 struct RTCIntersectContext* context,
14 struct RTCRayNp* rays,
15 unsigned int N
16 );
17
18 DESCRIPTION
19 The rtcOccludedNp function checks whether there are any hits for a SOA
20 ray stream (rays argument) of size N (basically a large ray packet)
21 with the scene (scene argument). The rays argument points to a struc‐
22 ture of pointers with one pointer for each ray component. Each of
23 these pointers points to an array with the ray component data for each
24 ray. This way the individual components of the SOA ray stream do not
25 need to be stored sequentially in memory, which makes it possible to
26 have large varying size ray packets in SOA layout. See Section [rtcOc‐
27 cluded1] for a description of how to set up and trace occlusion rays.
28
29 A ray in a ray stream is considered inactive if its tnear value is
30 larger than its tfar value.
31
32 The stream size N can be an arbitrary positive integer including 0.
33 Each ray component array must be aligned to 16 bytes.
34
35 EXIT STATUS
36 For performance reasons this function does not do any error checks,
37 thus will not set any error flags on failure.
38
39 SEE ALSO
40 [rtcIntersectNp]
41
42
43
44 rtcOccludedNp(3)