Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
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  
  LWJGL: WHY?  (Read 3466 times)
0 Members and 1 Guest are viewing this topic.
Offline Mr_Ridd

Senior Newbie




Java games rock!


« Posted 2004-01-09 10:15:03 »

In all the other Java Gaming API's everything is much easier. Why doesn't LWJGL have loaders and stuff like that?
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2004-01-09 10:34:12 »

Because LWJGL is an *enabling* technology. We enable you to make games - making them is your job Smiley

This includes any nice OO wrappers and all sorts of other stuff that aren't *needed* to do a game.

However take a look at:
http://www.mojomonkeycoding.com/
http://www.xith.org (unfinished LWJGL binding)

I am sure that somekind of model loading library would be most welcome, provided it can import into LWJGL, JOGL and convert to XITH.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #2 - Posted 2004-01-09 10:52:35 »

Quote
(unfinished LWJGL binding)

"unfinished" is a bit of an understatement here; there's hardly anything there!

I don't think creating the LWJGL binding is much work though.

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

« JGO Spiffy Duke »


Medals: 976
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2004-01-09 13:04:19 »

The LWJGL binding should mostly be a case of search and replace on JOGL methods.

Cas Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #4 - Posted 2004-01-09 20:50:53 »

Exactly.
I'd be surprised if it would be more work than, say, 2 hours max.

EDIT: without testing  Wink

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #5 - Posted 2004-01-09 20:53:19 »

As a matter of fact, I'd be happy to do it when I get GLU and CT done.

Offline renanse

Junior Devvie


Exp: 14 years


Intelligence is light to a dark world.


« Reply #6 - Posted 2004-01-10 02:17:23 »

Quote
As a matter of fact, I'd be happy to do it when I get GLU and CT done.


Geez, you're an animal dude!

Renanse  (ruh-NON-say)
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #7 - Posted 2004-01-10 10:27:53 »

I started work on the Xith3D-LWJGL binding, but was having to rewrite everything as I only had access to an OpenGL 1.1 card.  After discovering that the card's lighting support was totally, totally broken I had to give up.  I've been intending to get back to it soon, but on a half-decent system (GeForce4 MX 420), which I've now got access to.

Unfortunately I've been waylaid by Shogun: Total War these last few days... Grin  I'll take a look on Sunday, unless Erik "The Machine" gets there first!

FYI, it is mostly a cut-and-paste job, although discovering how it all hangs together is fun.  The only non-trivial bit is swapping in proper Buffer usage.  There are references to AWT all over the place: Canvas3D extends Component, and CanvasPeerImpl has to override a getComponent() method, but it's all do-able - the Component nature of the system is only really accessed by the end-user, so it'll be test applications that will break, not the render layer itself.

Hellomynameis Charlie Dobbie.
Offline aldacron

JGO Coder


Medals: 20
Exp: 19 years


Java games rock!


« Reply #8 - Posted 2004-01-10 13:53:25 »

Quote
There are references to AWT all over the place: Canvas3D extends Component, and CanvasPeerImpl has to override a getComponent() method, but it's all do-able - the Component nature of the system is only really accessed by the end-user, so it'll be test applications that will break, not the render layer itself.


This is something I've been struggling with in my design for Simplicity. My initial intent was to support LWJGL only, but it was requested that I make support for JOGL possible. I had to rethink the initial design quite a bit so that I can remove any AWT/Swing dependencies out of the core interfaces.

What I wound up doing (on paper so far) is separating the entire render system out as a plugin, that is, there's no default render system in the core.  The render system does not expose any Components in the interfaces, but the JOGL render system provides a special method to fetch a GLCanvas/GLJpanel (as a Component) for those apps that need it (such as an editor).

I say this because I was also looking at fleshing out the LWJGL portion of Xith and thought it would be a bigger headache than I wanted.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #9 - Posted 2004-01-10 21:25:49 »

Quote
I'll take a look on Sunday, unless Erik "The Machine" gets there first!


You don't seriously think I finish CT *and* GLU by tomorrow, do you  Shocked Grin

It'll be great to have Xith for LWJGL, keep it up!  Cheesy

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

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #10 - Posted 2004-01-10 22:51:04 »

meh - too drunk to reply...

Pages: [1]
  ignore  |  Print  
 
 

 
xxMrPHDxx (18 views)
2017-11-21 16:21:00

xxMrPHDxx (11 views)
2017-11-21 16:14:31

xxMrPHDxx (14 views)
2017-11-21 16:10:57

Ecumene (114 views)
2017-09-30 02:57:34

theagentd (148 views)
2017-09-26 18:23:31

cybrmynd (248 views)
2017-08-02 12:28:51

cybrmynd (247 views)
2017-08-02 12:19:43

cybrmynd (244 views)
2017-08-02 12:18:09

Sralse (258 views)
2017-07-25 17:13:48

Archive (878 views)
2017-04-27 17:45:51
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!