Login  Register

Re: JOGL + Swing + Multiple viewports

Posted by gouessej on Jan 16, 2018; 10:56am
URL: https://forum.jogamp.org/JOGL-Swing-Multiple-viewports-tp4038537p4038545.html

There are several implementations of animator, the most basic one performs active rendering, another one attempts to respect a fixed frame rate (but I advise you to use V-sync instead of this animator).

NewtCanvasAWT is a kind of bridge, it contains a NEWT window but it extends a basic (heavyweight) java.awt.Canvas. It helps to write cross-platform source code as you can use the same listeners with AWT and in AWT-free environments (typically Android).

You must identify the root cause in order to choose the appropriate solution. Multithreading isn't magic but you should do on the EDT only what is necessary.

Where do you call glCullFace(GL2.GL_BACK)?
Julien Gouesse | Personal blog | Website