Login  Register

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

Posted by gouessej on Sep 20, 2011; 9:16am
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p3351508.html

Hi

I implemented one of those wrappers (JoglNewtMouseWrapper) before falling asleep, I used the previous one (AwtMouseWrapper) as an example, it seems to be the right way to do it :) The one I implemented wraps NEWT events directly in Ardor3D events in order to allow the use of this window without AWT on Android for example.

I'm going to implement the class JoglNewtAwtCanvas which uses NewtCanvasAWT with existing wrappers (AwtMouseWrapper, AwtKeyboardWrapper, ...). If I do so, I won't need (yet) NewtAWTEventFactory. If I need it, I will implement it.

If you think it is a bad idea, let me know. As the source code is on Sourceforge, you can have a look at it.

I can at least find the native calls to change the mouse cursor and to move the mouse pointer on several platforms, would it be useful for you?

In Ardor3D, it is possible to change the icon of the window. Would such an option be difficult to implement in NEWT?

Thanks for your help. Best regards.
Julien Gouesse | Personal blog | Website