Login  Register

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

Posted by gouessej on Oct 21, 2015; 8:28am
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4035541.html

Hi

I modified JogAmp's Ardor3D Continuation yesterday. The size hint (i.e use the current screen size when (0,0) is passed) is fully working, the brand new rotation setting isn't correctly taken into account for the moment (it should be taken into account very early before the screen size as it has an impact on its choice). The code is very robust, it doesn't crash if some settings are too much restrictive. There is a temporary lack of documentation. There is a real need of clarification between the desired or requested display settings and the chosen display settings as the former ones are used further in the code whereas they might differ from the latter ones :s The support of multiple monitor devices is still highly experimental and it isn't yet possible to modify the display settings after having created the JoglNewtWindow except by writing a lot of JOGL NEWT code by yourself but I will solve this problem soon... by moving numerous lines of code from TUER to JogAmp's Ardor3D Continuation :) Using a clean implementation helped me to reduce the startup time.

These changes concern only JoglNewtWindow for now, I will make something similar for JoglAwtWindow if and only if there is a real need expressed by some developers, I'm reluctant to do it now as the AWT fullscreen mode is still half broken under GNU Linux.

I'll try a bug report to clarify what has been done and what will be done soon.

On the other hand, I'll improve the behavior during the resize and I'll probably create an example using a CardLayout and another one using a JTabbedPane. The latter will be used to solve Andreas' problem. I just hope that the real bug is in JogAmp's Ardor3D Continuation rather than in JOGL.

JMonkeyEngine and LibGDX will be updated later. I'm not sure that I will port the changes above to those engines as I'm not sure that their respective target audiences are interested in using several monitors.
Julien Gouesse | Personal blog | Website