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