Hi, this is probably a easy question to answer, but its totaly stumped me ???
Im an onld time OpenGL programmer, but new to jogl, i downloaded and had a pop with snippet 209 which works fine, untill i tried to get it to render in anything but wireframe. When i set teh polygone mode to GL_FLAT and added the following lines
gl.glClearDepth(1.0);
gl.glEnable(GL.GL_DEPTH_TEST);
gl.glDepthFunc(GL.GL_LEQUAL);
The depth test just wouldent work, and i end up with the quads being rendered in drawn order, rather then z-ordered. As you can probably imagine this dosent look too prety
Im probably doing something realy stupid, but i cant see what it is, any help would be realy appreciated.
Thanks all
Mark