raycasting with Gem

Joseph Larralde <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
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

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/VB3CJBCWKRJTVZ2V2OWECDWABRZACEYI/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.