rtcOccludedNM(3)
hey bestie π you're looking at rtcOccludedNM(3), from Embree Ray Tracing Kernels 3. Let's get into it.
β¨ NAME β¨
rtcOccludedNM β finds any hits for a stream of M ray packets of size N. That's the whole mission, no cap.
π SYNOPSIS π
#include <embree3/rtcore.h>
void rtcOccludedNM(
RTCScene scene,
struct RTCIntersectContext* context,
struct RTCRayN* ray,
unsigned int N,
unsigned int M,
size_t byteStride
);
π DESCRIPTION π
Okay so rtcOccludedNM checks whether there are any hits for a stream of M ray packets β that's the ray argument β of size N, with the scene argument. It's giving "occlusion rays, but make it a whole packet stream" energy. π₯
The ray argument points to an array of ray packets, and there's a specified byte stride between the ray packets β that's the byteStride argument. So yes, byteStride is literally the stride in bytes between those packets. π
If you need the full rundown on how to set up and trace occlusion rays, see Section [rtcOccluded1] β that's where the description lives. π«Ά
A ray in a ray stream is considered inactive if its tnear value is larger than its tfar value. That's the vibe check for inactive rays.
The packet size N must be larger than 0, and the stream size M can be an arbitrary positive integer including 0. Each ray must be aligned to 16 bytes. Periodt. β¨
π¨ EXIT STATUS π¨
For performance reasons, this function does not do any error checks, thus will not set any error flags on failure. So if something goes wrong, it's not going to raise a flag about it β it's just not that kind of function. π
π SEE ALSO π
[rtcIntersectNM]β go read that one too, bestie. π
bye bestie π«Ά β this has been rtcOccludedNM(3) from Embree Ray Tracing Kernels 3, and the footer is just rtcOccludedNM(3). No date on this page, so no fake date energy from me. periodt π
π¦ where this page comes from
- epel 9: embree 3.13.5-4.el9 Β· Apache-2.0
- fedora 43: embree3 3.13.5-9.fc41 Β· Apache-2.0
- fedora 44: embree3 3.13.5-16.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms