I have a game that I'm doing in LWJGL, though I'm a bit stuck in the OpenGL part of the project.
Thought I'd just draw a cube and make the camera rotate when the mouse is moved.
Anyone know of a clean tutorial for doing this?
When I say "clean" I mean example code that you get a good overview in, the fewer methods the better for learning purposes. In the best case the code has only one class and one method, without dependencies except LWJGL.
Post tutorials that are clean. =) Accepting links and of course also code directly. Thanks a million!
To learn opengl one of the places you can start is by reading the Red Book http://www.glprogramming.com/red/ or follow the http://nehe.gamedev.net/ tutorials.
Thanks, I was aware of those two. The red book is too huge, I have tried but it felt like I was learning too much (some things I didn't need to know). The nehe tutorials are great, but not "clean" in my opinion (also they aren't Java/LWJGL specific which is what I'm looking for. I know that it doesn't matter that much, but still I would like some Java tutorials in LWJGL). Do you or anyone have any other tips?
Another good tutorial I'd recommend is the asteroids tutorial
http://www.cokeandcode.com/asteroidstutorial
Its a full tutorial on how to build a full game using lwjgl.
Thank you once again, though I had seen that tutorial before. I have of course seen the things linked to on the official lwjgl homepage, I should have mentioned that in my first post. :) Sorry about that.
I'm looking more for rare tutorials that people have found to be great themselves even though they aren't that well-known. These tutorials can get a chance to shine in this thread and perhaps get well-known. If such tutorials exist that is, though since lwjgl is used by so many I think there should be more tutorials in existance other than the few super-well-known ones.
ok heres some more
examples of the Red Book ported to LWJGL http://www.ciardhubh.de/node/13
Clean implementation of the nehe tutorials in LWJGL http://bloody-blades.de/home/Project__NeHe_Tutorials.html
Tutorial to create a shmup in LWJGL http://fabiensanglard.net/Prototyp/index.php