Login  Register

Re: Extracting projected coordinates

Posted by Demoscene Passivist on May 22, 2010; 3:25pm
URL: https://forum.jogamp.org/Extracting-projected-coordinates-tp835912p836509.html

If u actually are only going for mouse interaction with ur framebuffer, theres already buildin functionality from OpenGL wich helps with that kind of "interactive" tasks. See here: http://www.opengl.org/resources/faq/technical/selection.htm

The functions involved are mainly glInitNames/glPushName/glPopName/glSelectBuffer/glRendeMode/glFeedbackBuffer/gluPickMatrix. I'm sure u will find tons of tutorials doing interactive graphics with OpenGL googling these functions.

Hope that helps ...