Login  Register

Re: Mouse selection

Posted by elect on Mar 01, 2012; 4:07pm
URL: https://forum.jogamp.org/Mouse-selection-tp3787468p3790907.html

And what about the idea suggest by Demon in the first answer?

http://stackoverflow.com/questions/5543401/opengl-mouse-picking-strategy

Reading depth of 1 pixel (the one corresponding to the mouse position) and then use gluUnProject to get all the other coordinates...

It looks easy and simple.. what you think about?