Re: depth values in picking

Posted by gouessej on
URL: https://forum.jogamp.org/depth-values-in-picking-tp4030347p4030359.html

There is no consistent way to achieve that but anyway, the use of OpenGL picking is not recommended, it can cause big slowdowns on some machines, especially when using shaders and/or when drawing lines. Color picking is even less reliable as some colors are simulated on some laptops (then some colored objects can never be "picked"). Rather use software picking.

Edit.: There are some informations about OpenGL picking here.
Julien Gouesse | Personal blog | Website