rtcTraver...ointQuery(3)

πŸ“¦ version 4.4.1, in ubuntu stonking

✨ NAME ✨

rtcTraversablePointQuery β€” the one where you traverse the BVH with a point query object πŸ¦‹ (yes bestie, it's a real function in the Embree Ray Tracing Kernels, manual section 3, and it's lowkey iconic)


🌸 SYNOPSIS 🌸

#include <embree4/rtcore.h>

void rtcTraversablePointQuery(
  RTCTraversable traversable,
  struct RTCPointQuery* query,
  struct RTCPointQueryContext* context,
  struct RTCPointQueryFunction* queryFunc,
  void* userPtr
);

πŸ’– DESCRIPTION πŸ’–

okay so. rtcTraversablePointQuery is literally the same vibe as rtcPointQuery, no cap 🫢 β€” the only glow-up is that it takes a traversable object (that's the traversable argument) instead of a scene object. that's it. that's the whole difference. periodt.

want the full tea? go read the docs for rtcPointQuery, bestie, because that's where all the deets live πŸ‘‘


πŸ’€ EXIT STATUS πŸ’€

ngl, for performance reasons this function does zero error checks. like, none. it will not set any error flags on failure. so if something goes sideways, it's giving silence. πŸ™ˆ


πŸŽ€ SEE ALSO πŸŽ€

  • rtcPointQuery
  • rtcGetSceneTraversable

that's the whole page, bestie πŸ’… this is from the Embree Ray Tracing Kernels, version 4, and the page is dated rtcTraver...ointQuery(3) β€” mwah, slay, go trace something beautiful βœ¨πŸŒˆπŸ’–

πŸ“¦ where this page comes from