Sign in to follow this  
DeclanHopkins

Moving on with Java

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
[quote name='DeclanHopkins' timestamp='1339801892' post='4949679']
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?
[/quote]
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. [i]Run[/i] 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
[quote name='DeclanHopkins' timestamp='1339806018' post='4949686']
Okay, any ideas on where to go then?
[/quote]
[url="http://www.gamedev.net/topic/625945-2-display-lists-slower/"]There are a couple of links in this thread you may be interested in[/url] (mine and larspensjo's).

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.

[url="http://www.lwjgl.org/wiki/index.php?title=Using_Vertex_Buffer_Objects_(VBO)"]http://www.lwjgl.org/wiki/index.php?title=Using_Vertex_Buffer_Objects_(VBO)[/url] 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this