Login  Register

Re: Depth buffer not working on Win7-64b?

Posted by gouessej on Nov 19, 2010; 3:19pm
URL: https://forum.jogamp.org/Depth-buffer-not-working-on-Win7-64b-tp1737435p1931085.html

Hi!

Thank you very much for the tip. If you reproduce your problem with it, then it will be considered as a bug except if the driver "says" your chip supports 24 bits whereas it's wrong. Do you see what I mean?

GLCapabilities field "depth bits" is at 24 by default and is updated only when GLCanvas.addNotify() is called.

GraphicsConfigurationFactory should fetch the available GLCapabilities instance. If it is a bug, we should investigate there.

Edit.: I have looked at the source code, the DefaultCapabilitiesChooser is called in all GraphicsConfigurationFactory implementations and it does the job correctly. It is highly probable that your crappy chip "says" it supports 24 bits. I cannot reproduce your bug, I only use JOGL 2 with NVIDIA, ATI, Matrox and VIA/SiS graphic chips.

Sven, is it a driver bug?

markm, please enable the debug pipeline so that we can see which GLCapabilities instances are available on your machine.
Julien Gouesse | Personal blog | Website