Instead of LWJGL, I want to work more closely to the original OpenGL calls and really learn how to work with 3D coordinates and then slowly add functions and new classes to form the framework of a game, and then keep starting over making better new code until I really have the skill to make more difficult projects.

I created this topic to find out if any game projects have ever been completed in JOGL, if any source code is available for these games, or if any game tutorials were started that use JOGL that I could look at as a supplement to working alongside the OpenGL 5 book i mentioned earlier.

**I found a tutorial by someone named kevglass on cokeandcode.com for LWJGL, but the source code he posts is different from the code found within the step-by-step tutorial, and jumping around makes it difficult for me to learn. Also he starts off with the beginning of the GameWindow class with more complicated methods before starting with main(), so the jumping around really frustrates the hell out of me.**

So yea, if you have any resources for JOGL that include tiny game projects with available source, that would really be great!

I said OpenGL 5 because I still had OpenGL SuperBible 5th edition in my head sorry

I want to use LWJGL, but can you link me to the docs? Are they sufficient to learn just using the docs or do I have to learn OpenGL from the book and THEN learn LWJGL? If LWJGL is worth my time, its gonna cut away from my time reading other OpenGL material..

You can learn OpenGL using LWJGL. A few of the commands have been Java-fied slightly: in general, any command where you pass in a pointer and a GL type and maybe number of elements, in LWJGL you pass in a Direct buffer of the appropriate type, which will be read from its specified position() up to its limit().

Also in LWJGL you can statically import the appropriate GLnn classes so the actual code looks more like C.

Also in LWJGL you can statically import the appropriate GLnn classes so the actual code looks more like C.

I'm trying to get as far away from C as possible. I just need some docs I can read to learn how to actually USE lwjgl after I include it in my project I've been fiddling with install for 3 days now, its been bad enough the only good tutorial for lwjgl is from cokeandcode.com and doesn't explain the OpenGL calls, just the structure of the game itself (which is gonna be awesome)

Oh, I go back much further than that... 2001 I think. Not that I'm necessarily the one to listen to. Listen carefully to Spasi, Riven, Kevglass, Matzon, etc. as well, because they all know lots more about things than me. I just "sound" clever.

There's no escaping C when it comes to OpenGL - all the example code on the internets you'll find is C, so it's handy to know you can make code look very similar and sometimes identical to its C counterpart with LWJGL.

Haha ok great, well I know C++ so I'm somewhat familiar with C - I understand what you meant though.. that because most of what I'll find online is about C when it comes to OpenGL, I'll have an easier time porting the code over to Java.

Still, the LWJGL docs..where are they? :scratches head:

Found the documentation and wiki on the website. The documentation doesn't have a general overview of the library tho, explaining what each category controls, but I see the wiki has links to some tutorials. Just wish there was a tutorial for setting up the window to draw on.

All good though - the kevglass asteroids tutorial does, I'll just have to ignore some of the functions and start with main()

I'm patiently working my way through the Asteroids 3D tutorial, and its actually fantastic. Here are my tips to having an easier time understanding what is going on:

1) Open the web page with the tutorials2) Download the source code3) Read through the first section (first few paragraphs)4) Follow along by opening up the source code for the file GameWindow.java (kevglass doesn't completely run you through the creation of the game, you'll want to open up the .java files so you can see some of the functions he skipped (first ones being main() and findDisplayMode())5) Open IDE (preferably eclipse) and start coding the project from scratch while following steps 3-46) Optimize and re-comment where you can so the project becomes YOUR WORDS so YOU understand it for the 2nd project you make on your own (with this one as a reference )

I was overwhelmed but now I'm moving right along. I also re-wrote findDisplayMode() to use an enhanced for loop:

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