Login  Register

Re: GLCanvas wit overlay

Posted by gouessej on Dec 21, 2018; 9:09am
URL: https://forum.jogamp.org/GLCanvas-wit-overlay-tp4039329p4039330.html

Hello

There is a pull request about adding GL3 and GL4 support into com.jogamp.opengl.util.awt.TextureRenderer but it's not integrated into JOGL yet. Either update this contribution to make it work with the latest JOGL version or use the shader based text renderer (see com.jogamp.graph).

I used SWT and Eclipse RCP for years, I advise you to avoid mixing SWT and AWT. The OpenGL rendering of the heayweight com.jogamp.opengl.swt.GLCanvas should be performed on the same thread than the SWT rendering. If you have a doubt, use GLCanvas.invoke().
Julien Gouesse | Personal blog | Website