RTCTRAVERSABLEOCCLUDED1(3)
π rtcTraversableOccluded1 π
okay bestie, welcome to rtcTraversableOccluded1(3) β yes that's a mouthful, we're in the Embree Ray Tracing Kernels, version 4, and this little function is about to find you a hit π₯
β¨ NAME β¨
rtcTraversableOccluded1 β finds any hit for a single ray π
πΈ SYNOPSIS πΈ
#include <embree4/rtcore.h>
void rtcTraversableOccluded1(
RTCTraversable traversable,
struct RTCRay* ray,
struct RTCOccludedArguments* args = NULL
);
π¦ DESCRIPTION π¦
okay so. rtcTraversableOccluded1 is literally just rtcOccluded1 but make it traversable. Same energy, different bae. π
Instead of taking a scene object, it takes a traversable object β that's the traversable argument, right there in the params, no cap.
Using this method is optional on CPU β but it is required for SYCL. so if you're on SYCL, this isn't a vibe, it's the law π
For more details, bestie, go read the docs for rtcOccluded1. She's the blueprint, this one's the remix. π
π EXIT STATUS π
not me about to tell you the messiest part: for performance reasons, this function does no error checks whatsoever. zero. nada. π
so likeβ¦ it will not set any error flags on failure. it's giving "I don't do check-ins, I just do my job." so if something goes wrong, she simply won't tell you. iconic but also terrifying fr fr. π
π SEE ALSO π
rtcOccluded1rtcGetSceneTraversable
that's the whole page, bestie, ate and left no crumbs π«Άβ¨ β brought to you by the Embree Ray Tracing Kernels, version 4, page rtcTraver...eOccluded1(3). mwah π
π¦ 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