Login  Register

Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI

Posted by gouessej on Sep 21, 2011; 8:58am
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p3354894.html

I tried to use NewtCanvasAWT like GLCanvas but it seems more complicated. Do I have to create a NewtCanvasAWT instance on the AWT EDT? How can I force the creation of the OpenGL context on the AWT EDT too? I now understand why another contributor said that Ardor3D FrameHandler API is difficult to use with NEWT.

I can get a valid context by overriding addNotify() in GLCanvas but it does not work with NewtCanvasAWT, I had to get the context later in another method.
Julien Gouesse | Personal blog | Website