Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Target = Linux + Windows : LWJGL or JOGL ?  (Read 4892 times)
0 Members and 1 Guest are viewing this topic.
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #30 - Posted 2005-09-13 18:04:55 »

My only "anti-LWGL" concern is that it is hardware-only rendering.

There's a flag you can set to allow LWJGL to not filter out non-HW display modes. It's described in the 'hidden switches.txt' in the build IIRC.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #31 - Posted 2005-09-13 19:09:45 »

If I'm following this trail correctly, JOGL should be able to handle resolution swapping on Linux as well as it does on Windows if running a 1.5+ JVM, but is crippled on 1.4, correctl?  Hmmm....
no, it's 1.6+ !

My only "anti-LWGL" concern is that it is hardware-only rendering.  About 75% - 90% of my game is being designed really as just a standard 2D strategy game with only a couple parts that may take advantage of 3D capabilities.  I know that most machines in the public hands now do perform accelerated 3D as hardware rendering and that by early next year it will be an even higher percentage, but, for example, the laptop I'm working on now does it's 3D for Linux in software.  Since 3D is not even the biggest feature of the game I hate to limit a target audience by requiring that.  If this was a fast-paced shooter that's an understandable target, but a trun-based simulation is very different story.
LWJGL supports software mode fine - we just fail unless you explicitly enable it via the
Quote
-Dorg.lwjgl.opengl.Display.allowSoftwareOpenGL=true
VM property

Offline beowulf03809

Junior Member




We live for the code, we die for the code


« Reply #32 - Posted 2005-09-13 19:10:42 »

Curse you, Orangy Tang!  As soon as I think I found a technical reason to help me make my decision I am presented with a work around!!!

I guess I just need to set down this weekend and try some raw LWJGL stuff to see if it works on my three environments ( W2K and JDK 1.4, Linux w/ hardware acceleration and JDK 1.5, and Linux without hardware JDK 1.5 ).

-L
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline beowulf03809

Junior Member




We live for the code, we die for the code


« Reply #33 - Posted 2005-09-13 19:21:21 »

And curse you too, Matzon!    Wink

-L
Offline Jeff

JGO Coder




Got any cats?


« Reply #34 - Posted 2005-09-16 07:31:13 »

The two biggest differenes AFAIK between the APIs are these:

(1) JOGL requires AWT and is buitl with AWT more in mind.  LWJGL does nto require AWT and may not integrate as well with it if you want that. (To be fair most games dont)

(2) LWJGL gies you a single integrated package with OGL, OpenAL support and input support.  JOGL is designed to be used with OpenAL or Jinput if you want those, or any other chpice you make for those functions.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline elias

Senior Member





« Reply #35 - Posted 2005-09-16 08:54:54 »

The two biggest differenes AFAIK between the APIs are these:

(1) JOGL requires AWT and is buitl with AWT more in mind.  LWJGL does nto require AWT and may not integrate as well with it if you want that. (To be fair most games dont)


Note that recent LWJGL versions have got the AWTGLCanvas class to bridge AWT and LWJGL, and it works similar to the JOGL canvas. We don't have the swing equivalent of GLJPanel, so the support is not as complete as jogl. In return you  get to choose between SWT, AWT and the LWJGL internal implementation of fullscreen/windowed + pbuffer drawables.

 - elias

Pages: 1 [2]
  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.

CogWheelz (17 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (43 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
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!