| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- .TH "rtcOccludedNp" "3" "" "" "Embree Ray Tracing Kernels 3"
- .SS NAME
- .IP
- .nf
- \f[C]
- rtcOccludedNp\ \-\ finds\ any\ hits\ for\ a\ SOA\ ray\ stream\ of\ size\ N
- \f[]
- .fi
- .SS SYNOPSIS
- .IP
- .nf
- \f[C]
- #include\ <embree3/rtcore.h>
- void\ rtcOccludedNp(
- \ \ RTCScene\ scene,
- \ \ struct\ RTCIntersectContext*\ context,
- \ \ struct\ RTCRayNp*\ ray,
- \ \ unsigned\ int\ N
- );
- \f[]
- .fi
- .SS DESCRIPTION
- .PP
- The \f[C]rtcOccludedNp\f[] function checks whether there are any hits
- for a SOA ray stream (\f[C]ray\f[] argument) of size \f[C]N\f[]
- (basically a large ray packet) with the scene (\f[C]scene\f[] argument).
- The \f[C]ray\f[] argument points to a structure of pointers with one
- pointer for each ray component.
- Each of these pointers points to an array with the ray component data
- for each ray.
- This way the individual components of the SOA ray stream do not need to
- be stored sequentially in memory, which makes it possible to have large
- varying size ray packets in SOA layout.
- See Section [rtcOccluded1] for a description of how to set up and trace
- occlusion rays.
- .IP
- .nf
- \f[C]
- \f[]
- .fi
- .IP
- .nf
- \f[C]
- \f[]
- .fi
- .PP
- A ray in a ray stream is considered inactive if its \f[C]tnear\f[] value
- is larger than its \f[C]tfar\f[] value.
- .PP
- The stream size \f[C]N\f[] can be an arbitrary positive integer
- including 0.
- Each ray component array must be aligned to 16 bytes.
- .SS EXIT STATUS
- .PP
- For performance reasons this function does not do any error checks, thus
- will not set any error flags on failure.
- .SS SEE ALSO
- .PP
- [rtcIntersectNp]
|