Re: wrong depth values when rendering in GL_SELECT mode
Posted by
misha on
URL: https://forum.jogamp.org/wrong-depth-values-when-rendering-in-GL-SELECT-mode-tp4025804p4025806.html
I have seen the first example and mistake is not with pick processing or signed nature of java ints. For some reason z coordinates returned to select buffer are all the same. Thus I can not check what object is nearer.
Problem is reproducible on win xp 32 bit. I tried running this code on win 7 64 bit and there coordinates are correct, so I can properly sort objects. I don't know where problem is: in jogl, in opengl drivers, etc. And I don't know how further investigate this problem :(.
If anyone has any clue I would be very grateful!