Login  Register

Re: Mouse selection

Posted by gouessej on Mar 01, 2012; 8:20am
URL: https://forum.jogamp.org/Mouse-selection-tp3787468p3789778.html

Demoscene Passivist, I'm not sure to understand what you mean. Color picking is not reliable as some computers (especially laptops) may emulate a part of the palette and in such a case, color picking does not work at all.

Elect, I gave you an example of picking using JOGL on javagaming.org. However, hardware accelerated picking should not be used anymore because it relies on deprecated features of OpenGL and anyway, I observed important slowdowns when mixing shaders with it on some machines. Software picking might be slower but it is often more reliable.
Julien Gouesse | Personal blog | Website