Skip to main content
gamedev.net
🔒 Locked

[java] LWJGL tutorials

Started by NuffSaid 21 replies 4.3k views
Original Post
NuffSaid
NuffSaid
Are there any good LWJGL tutorials out there? The tutorial on the LWJGL website seems to be quite brief and doesn''t say much.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
CaptainJester
CaptainJester
I did the first 12 NeHe tutorials. I can make them available to you if you want? I am going to see if NeHe will post them as well.



First make it work, then make it fast. --Brian Kernighan

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)

Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
Aldacron
Aldacron
The chman stuff is outdated, though. There have been some sweeping changes since those were written. Really, there''s not much to it. All you need to know is how to set the display mode, create the window, and manage input. The GL.* methods work the same as their C counterparts, with the exception that any function that traditionally accepts an array is designed to accept a FloatBuffer (or a buffer of the appropriate type) in LWJGL. The examples provided with the download should be enough to quickly get up to speed with it. Worked for me anyway, after a couple of test apps to get familiar with it.
NuffSaid
NuffSaid
What''s the status of LWJGL on OS X? I''ve tried compiling the skeleton application given in the documentation on the site and I seem to get quite a number of unresolved references.

These unresolved references seem to relate to GL and GLU. I know I''m setting the class path correctly because the compiler seems to pick up methods in the Sys class fine.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
HenryNoid
HenryNoid
@CaptainJester:

I''d like to have your LWJGL versions from the NEHE tutorials, PLS
CaptainJester
CaptainJester
http://members.rogers.com/mark.bernard/



First make it work, then make it fast. --Brian Kernighan

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)

Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
Mr_Ridd
Mr_Ridd
Why does it have to accept a FloatBuffer? That complicates the hell out of things.
The ability to succeed is the ability to adapt
Mr_Ridd
Mr_Ridd
Well what are the advantages of a FloatBuffer over a float array?
The ability to succeed is the ability to adapt
Raghar
Raghar
JNI could copy your array if it would like so. It wont copy ByteBuffer. (you could blast out the memory, however)
c-lo
c-lo
Can anyone post links to the NeHe tutorials with LWJGL, please?
If you have any extra stuff about LWJGL could you possibly email it to me??
c-lo@tiscali.it
thank you
princec
princec
Ton of useful code in my game lib here:
Shaven Puppy Game Library (SPGL)

The entire (!) source code to Alien Flux can now be downloaded to look at from here. Any, er, sales and general niceness would be greatly appreciated, coz I'm depressed and not having any time or money to write another game...

Cas

[edited by - princec on April 20, 2004 5:11:22 AM]
CaptainJester
CaptainJester
quote:
Original post by c-lo
Can anyone post links to the NeHe tutorials with LWJGL, please?
If you have any extra stuff about LWJGL could you possibly email it to me??
c-lo@tiscali.it
thank you


My link is still active.

http://members.rogers.com/mark.bernard/

It contains tutorials 1-12.



First make it work, then make it fast. --Brian Kernighan

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)

Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][
Raghar
Raghar
quote:
Original post by princec
Any, er, sales and general niceness would be greatly appreciated, coz I''m depressed and not having any time or money to write another game...
Sales wont help you, much (Or better say money wont help you.). You need a girlfriend.
NuffSaid
NuffSaid
quote:
Original post by Raghar
quote:
Original post by princec
Any, er, sales and general niceness would be greatly appreciated, coz I''m depressed and not having any time or money to write another game...
Sales wont help you, much (Or better say money wont help you.). You need a girlfriend.


But that would require more money and end up creating more depression
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.