rtcTraver...ded4/8/16(3)
π rtcTraversableOccluded4/8/16 β finds any hits for a ray packet π
okay bestie, welcome to the rtcTraversableOccluded4/8/16 page, straight out of the Embree Ray Tracing Kernels 4 manual, section 3 (the library-functions section, iykyk). grab a snack, we're doing ray packets today π¦
β¨ NAME β¨
rtcTraversableOccluded4/8/16 β finds any hits for a ray packet
no cap, that's the whole job description. it's giving "just here to tell you if something got hit" π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <embree4/rtcore.h>
then, choose your fighter β 4, 8, or 16 rays at a time, queen:
void rtcTraversableOccluded4(
const int* valid,
RTCTraversable traversable,
struct RTCRay4* ray,
struct RTCOccludedArguments* args = NULL
);
void rtcTraversableOccluded8(
const int* valid,
RTCTraversable traversable,
struct RTCRay8* ray,
struct RTCOccludedArguments* args = NULL
);
void rtcTraversableOccluded16(
const int* valid,
RTCTraversable traversable,
struct RTCRay16* ray,
struct RTCOccludedArguments* args = NULL
);
notice how args is just vibing there with a default of NULL? yeah. optional queen behavior. π
π DESCRIPTION π
so here's the tea, bestie: the rtcTraversableOccluded4/8/16 functions are literally equivalent to rtcOccluded4/8/16, except β and this is the main character plot twist β they take a traversable object (that's the traversable argument, stunning) instead of a scene object. π«Ά
that's it. that's the difference. iconic.
and if you want the full lore, the details, the whole saga? go read the documentation of rtcOccluded4/8/16. it's all there, I promise. β¨
π EXIT STATUS π
okay so, for performance reasons β and she is very serious about performance β this function does not do any error checks. so on failure, it will not set any error flags. none. zero. not a single one. π
lowkey important: if something goes wrong, this function is not gonna tell you. it's not snitching. check your own stuff, bestie. π
π SEE ALSO π
go read these next, fr fr:
- [rtcOccluded4/8/16]
- [rtcGetSceneTraversable]
and that's the whole page, babe. this one comes to you courtesy of Embree Ray Tracing Kernels 4, page rtcTraversableOccluded4/8/16(3) β section 3, library functions, the whole thing. periodt. πβ¨ππ¦
π¦ where this page comes from
- ubuntu stonking: libembree-dev 4.4.1+dfsg-2ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms