Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
games submitted by our members
Games in WIP (500)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Feedback on Newt bindings  (Read 1001 times)
0 Members and 1 Guest are viewing this topic.
Offline lhkbob

JGO Knight


Medals: 32



« Posted 2010-05-13 09:26:25 »

When I first ported my code over to use JOGL 2 I experimented with the Newt window API but found that it wasn't very stable and had poor event behavior on my Mac.  Because of this (and some things below), I just used the AWT GLCanvas still.  However, now I'm trying out the new version and I would really like to be able to use Newt.

When re-learning its API, here are some things that could use improvement:
1. I have no idea how to change the screen resolution for a fullscreen window.  Setting the window size and then fullscreen does not use the window size as the desired resolution.  This is a feature that's very important for me.
2. Having to specify -XstartOnFirstThread is pretty lame but I understand why it might be necessary
3. Even lamer however is having to use a different main class entry point.
4. The documentation for the native window and newt libraries are non-existent.  I think the API suffers from too much abstraction (when it comes to AbstractX + DefaultX + ImplX for such things as graphics configurations and devices and factories), but also exposes too many low-level handles in an inconsistent manner (sometimes strings and sometimes integers).  It's also not clear who is responsible for locking the surfaces, etc. (#4 is more general and something that I can learn to live with)

With the 2 and 3, I have to document in my engine that anyone which wants to use the JOGL engine implementation has to do special java command line stuff to get it to run without locking up.

Offline sgoethel

Junior Member




keep the source alive


« Reply #1 - Posted 2010-05-17 17:14:25 »

I took the freedom and fwd your post to our forum.
http://jogamp.762907.n3.nabble.com/Feedback-on-Newt-bindings-by-lhkbob-td823824.html#a823824

You and everybody here is more than welcome to patch & discuss it in our new forum & home!

http://jogamp.org/
http://jogamp.org/forum.html -> http://jogamp.762907.n3.nabble.com/

The cool thing with this nabble forum we (JogAmp) use now, is that it can behave
like a mailinglist as well - ie you can let it forward messages via email and you can also send
messages to it via email. I love it - thx Michael. And all the web forum lovers and use that If too Smiley

So please feel invited to that JogAmp forum and discuss JOGL/JOCL/.. things there, thank you.

JogAmp [ GlueGen, JOAL, JOGL, JOCL, ..]
http://www.jogamp.org
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (50 views)
2014-04-15 18:08:23

BurntPizza (46 views)
2014-04-15 03:46:01

UprightPath (62 views)
2014-04-14 17:39:50

UprightPath (44 views)
2014-04-14 17:35:47

Porlus (61 views)
2014-04-14 15:48:38

tom_mai78101 (85 views)
2014-04-10 04:04:31

BurntPizza (143 views)
2014-04-08 23:06:04

tom_mai78101 (242 views)
2014-04-05 13:34:39

trollwarrior1 (201 views)
2014-04-04 12:06:45

CJLetsGame (208 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!