Ray picking using FloatUtil makePick
Posted by ericg on Nov 08, 2014; 3:50am
URL: https://forum.jogamp.org/Ray-picking-using-FloatUtil-makePick-tp4033515.html
Hello, I am trying to implement ray picking in my application (using GL4 and GLSL4) and I was wondering if the makePick function on FloatUtil would be useful for this? Previously I have used gluUnProject to create the pick vector and that worked great. Now, however, I no longer have access to GL_MODELVIEW_MATRIX or GL_PROJECTION_MATRIX as none of those concepts were retained I think as of 3.x?
Anyway, would makePick be worth looking at? Are there examples of its implementation out there anywhere?