Hi,
i’m trying to use jogl with SWT. Everything is up and running with the latest jogl-release from May 2008. Somehow i have problems with z ordering although GL_DEPTH_TEST is enabled.
Below you will find my GLContext creation code (copied from Snipped #209).
org.eclipse.swt.GLCanvas canvas = new GLCanvas(new GLData());
canvas.setCurrent();
GLContext glcontext = GLDrawableFactory.getFactory().createExternalGLContext();
glcontext.makeCurrent();
//do some rendering and enable GL_DEPTH_TEST
glcontext.release();
glcanvas.swapBuffers();
Since i couldn’t find anything to correct this problem: Has someone a solution? Maybe its the same issue for which the GLJPanel was created? And no, i don’t want to use SWT_AWT bridge.
[edit]
OS: Intel Linux 32 bit. Latest nvidia driver (173.xxx). And swt 3.3.2
[/edit]