Re: depth values in picking
Posted by Mathieu Blossier on
URL: https://forum.jogamp.org/depth-values-in-picking-tp4030347p4030380.html
Hi,
The picking has been tested on hundreds of machine, and it seems to work :)
I don't think I use color picking : I just set the gluPickMatrix, then render a part of my scene, and get objects that are in the selected rectangle.
"screen z value" is the location of a point in z from the screen, in pixels unit. glUnproject may do what I want, but I don't understand how to make it works with gluPickMatrix.
Cheers,
Mathieu