Login  Register

Re: 2D Picking with Jogl

Posted by gouessej on Mar 01, 2011; 8:52am
URL: https://forum.jogamp.org/2D-Picking-with-Jogl-tp2594712p2601612.html

Hi!

There is an example here:
https://github.com/sgothel/jogl-demos/blob/master/src/demos/misc/Picking.java

N.B: You might get strange results if you mix 2D and 3D by using different kinds of projection. You have to know that the use of OpenGL picking is not recommended according to the official OpenGL FAQ.
Julien Gouesse | Personal blog | Website