Login  Register

Re: Mouse selection

Posted by gouessej on Mar 01, 2012; 12:05pm
URL: https://forum.jogamp.org/Mouse-selection-tp3787468p3790216.html

Ok... Hardware accelerated picking relies on hardware acceleration, in our case with OpenGL. Software picking is done without OpenGL. Some methods required to use OpenGL picking work badly when you use some shaders, I haven't found why. The Khronos Group started deprecating some methods since OpenGL 3.0; as far as I know, glInitNames and glSelectBuffer are deprecated.

Therefore, using OpenGL picking has some pedagogical interests but I don't advise you to rely on it for real programs.

I advise you to look at the "man" of each method you don't know. The "man" is available in command line on GNU Linux and online too:
http://www.opengl.org/sdk/docs/man/

This doc contains only methods still supported in OpenGL 4.2:
http://www.opengl.org/sdk/docs/man4/
Julien Gouesse | Personal blog | Website