I’m back on the drawing board with this and was wondering if a gpu based approach might help.
Basically I have a position in whatever scene and, looking in one direction, I need to figure if I hit a bounding box /the sky /nothing or any object in that scene… And
Do that hundreds of thousands times, as fast as possible.
I’m doing this in unity which has a raycasting component that does that quite fast. However our app would greatly profit if we could turn this up a few notches.
Now, in my mind the gpu has all the data we need.
So is there a way to find that out via cuda and query in the scene?
I searched the web but it’s one of those things where I’m not sure what exactly to look for.
Any input would by great!