RTCTRAVERSABLEOCCLUDED1(3)

πŸ“¦ version 4.4.1, in ubuntu stonking

πŸ’– 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 🌈

  • rtcOccluded1
  • rtcGetSceneTraversable

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