New answers tagged picking
According to the gluPickMatrix docs, this function is designed to be used in tandem with your normal projection matrix. In other words, it shouldn't replace the normal projection matrix as your code does, but be combined with it. The docs suggest using the following sequence of calls to set up the picking matrix: gl.glMatrixMode(GL2.GL_PROJECTION); ...
Top 50 recent answers are included