🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest MousePicking Activity
![OpenGL 4 mouse picking](https://uploads.gamedev.net/forums/monthly_2022_11/af6bbab1c98f46bbbbcbd4df397f33db.out.png)
I added in mouse picking. The bounding boxes need not be axis aligned, although I'm too lazy to rename them from AABBs to just BBs. I ended up breaking the game board into 8x8 cells, each with a bounding box, so triangle-ray intersection is speedy-ish.
The relevant code is:
void get_collision_locati…
@shaarigan Yup that's essentially what I'm trying to implement, albeit in 3 dimensional space. From what I understand an R-Tree is just a specific kind of BVH that uses axis-aligned rectangles as the bounding volumes, with BVHs being a generalized superset of data structures. I'm trying to im…
Advertisement
Advertisement