jogamp
›
jogl
Re: wrong depth values when rendering in GL_SELECT mode
Posted by
gouessej
on
URL:
https://forum.jogamp.org/wrong-depth-values-when-rendering-in-GL-SELECT-mode-tp4025804p4025805.html
Hi
Rather use this example:
https://github.com/sgothel/jogl-demos/blob/master/src/demos/misc/Picking.java
I assume you used a C/C++ source code to write your own one and you forgot a few subtle things about Java. I don't see your method processPicking(). Anyway, OpenGL picking is a deprecated feature, you should implement your own software picking.
Edit.: You probably did this mistake I fixed some months ago:
https://github.com/sgothel/jogl-demos/commit/d1830d4ccd8c2db30896e987638228c45e251564
Julien Gouesse |
Personal blog
|
Website
Free forum by Nabble
Edit this page