Hello guys. It’s some time from my last post, and i want some suggestions: What book would you recommend for me to start programing a 2D game using LWJGL (OpenGL especially).
Thanks for reply. Yes, i’ve heard of Slick2D but i am more than sure that i want to learn LWJGL so that in the future i can get into 3D game programing easily. Currently i am in first highschool year so my math isn’t so advanced.
Thank you too for reply. I’ve heard about this book, but i’m not sure… Is it ok to learn 3D directly? As i said above, i don’t have so much knowing in math.
I can get only OpenGL SuperBible 4th Edition. Is it still good?
You don’t need a whole lot of math beyond basic geometry and trigonometry. For that, I recommend http://khanacademy.org
The Superbible 4th edition is quite good, but mostly covers the fixed function pipeline, then moves to shaders in terms of the fixed pipeline, where it becomes much more of a gloss unfortunately, especially as the examples go. It’s still a great book for learning the concepts, just not so much in terms of modern OpenGL.
I’ve had trouble finding the right methods in LWJGL to correspond to the C++ code. Not to hijack the topic here but how do you decide which LWJGL GLXX to use, and how do you know whether those methods are core features or not?
I know glClearColor in LWJGL is only in GL11 which would be OpenGL 1.1 but it remains core in 3.0 and above? How does that all fit together?
That should help. Thanks. Now I apparently don’t have OpenGL 3.3 compatibility and since I’m running Linux I get to try to figure out what it is. Fun stuff. Thanks for the link.
Functions appear in the GLXX class which corresponds to the gl version they became core in. So glClearColour is in GL11 because it was introduced in v1.1.
Ok. I can see some reasoning behind that but logic would seem to say it should be changed since some functions are now marked as deprecated. So is there any easy way to tell what functions are currently in the core version?