Hello list,
I'm currently working on a Gem patch where I have a lot of sphere primitives and I would like to identify the sphere that appears under some particular Gemwin screen coordinates (aka raycasting). I can't find an object that already does this calculation so I ended up finding this SO answer explaining the raycasting principle https://stackoverflow.com/a/19153090. Still, I'm a bit lost and don't know where to start ... I found this informative post for the 3D graphics noob that I am : https://gamedev.stackexchange.com/a/178645
But I can't figure out how to apply this to Gem.
Any help would be greatly appreciated.
Best,
Joseph
---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/VB3CJBCWKRJTVZ2V2OWECDWABRZACEYI/

To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to