rtcOccluded1M(3)
β¨ rtcOccluded1M β¨
okay bestie, welcome to the rtcOccluded1M(3) page, fresh out of the Embree Ray Tracing Kernels 3 manual π this one is literally the "does anything even hit this??" girlie for a whole stream of rays and she does not waste a single second on it.
πΈ NAME πΈ
rtcOccluded1M β finds any hits for a stream of M single rays π¦
π SYNOPSIS π
#include <embree3/rtcore.h>
void rtcOccluded1M(
RTCScene scene,
struct RTCIntersectContext* context,
struct RTCRay* ray,
unsigned int M,
size_t byteStride
);
π DESCRIPTION π
So the rtcOccluded1M function checks whether there are any hits for a stream of M single rays (that's the ray argument, bestie) against the scene (the scene argument). The ray argument points to an array of rays and there's a specified byte stride between them β that's the byteStride argument, she's the one keeping everybody in their lane π«
For the whole "how do I even set up and trace occlusion rays" situation, go read Section [rtcOccluded1] β she explains it way better than I could.
A ray in a ray stream is considered inactive if its tnear value is larger than its tfar value. that's it, that's the vibe check, inactive ray, no notes π
The stream size M can be an arbitrary positive integer including 0. yes, zero, she contains multitudes β¨
β οΈ not me being the messenger here: each ray must be aligned to 16 bytes. fr fr, do not skip this one, it's not a suggestion π
π EXIT STATUS π
For performance reasons this function does not do any error checks, so it will not set any error flags on failure. she's fast and she's not sorry, that's the tradeoff, iykyk π₯
π SEE ALSO π
- [
rtcIntersect1M]
that's the whole page, bestie, go trace something gorgeous π anyway, this was the rtcOccluded1M(3) page from the Embree Ray Tracing Kernels 3 manual β mwah, xoxo, slay, 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