Login  Register

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

Posted by Sven Gothel on Sep 20, 2011; 2:34am
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p3350843.html

On Monday, September 19, 2011 09:13:39 PM gouessej [via jogamp] wrote:
>
> I have implemented a NEWT window for Ardor3D but I have not yet tested it as
> I need to implement some wrappers for key and mouse inputs.

Right now we have 2 event translators implemented:
  AWT -> NEWT
    http://jogamp.org/git/?p=jogl.git;a=blob;f=src/newt/classes/jogamp/newt/awt/event/AWTNewtEventFactory.java;hb=HEAD
       
  Android -> NEWT
    http://jogamp.org/git/?p=jogl.git;a=blob;f=src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java;hb=HEAD

maybe it would be cool to have NEWT -> AWT
  com.jogamp.newt.awt.event.NewtAWTEventFactory ?

somehow I am reluctant to write something that would enable AWT to use NEWT,
however, real world use cases show it would be convenient.
Do you like to do implement them ?

>
> I see I can neither change the mouse cursor nor set a grabbed state. It will
> be problematic for my game, I will have to implement it in NEWT.

Yup, the 2 last outstanding feature requests to NEWT.
They will come, sure.

- turn mouse cursor on/off (if not supporting change the cursor image)
- mouse cursor doesn't leave window (grabbed ?) on/off

sounds great, will do for rc4.

~Sven