• Advertisement
Sign in to follow this  

Moving on with Java

This topic is 2044 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Howdy.

I am currently reading a book on Java, and building a foundation on the language based on my prior knowledge of other languages.

What should I do after this book and after I have a nice grasp on the language? I was looking at lwjgl but there aren't that many great resources for learning it and it seems a bit too advanced. Any suggestions?

Share this post


Link to post
Share on other sites
Advertisement

What should I do after this book and after I have a nice grasp on the language? I was looking at lwjgl but there aren't that many great resources for learning it and it seems a bit too advanced. Any suggestions?

lwjgl, as far as I know, gives you pretty direct access to OpenGL. Simply translated, that means that if you find a C/C++ tutorial that uses OpenGL, it should be trivial to do a direct translation to lwjgl.

Stay away from old OpenGL stuff though. Run from anything that uses [font=courier new,courier,monospace]glBegin()[/font]/[font=courier new,courier,monospace]glEnd()[/font].

Share this post


Link to post
Share on other sites
It's actually a GIGANTIC pain to find anything showing you modern OpenGL :/ I had a hard time finding too much useful code.

http://www.lwjgl.org/wiki/index.php?title=Using_Vertex_Buffer_Objects_(VBO) This should give you an idea of modern opengl.

lwjgl is pretty much the same as using opengl in C++ (there are a few differences, but overall the API is about as close as you can get in java).

The biggest thing about using modern opengl is that you need to do all your matrix manipulation yourself, and if you don't supply it with custom shaders, it'll fall back on the fixed pipeline to render things (which is bad, since fixed pipeline is not modern opengl).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement