Jump to content
  • Advertisement
Sign in to follow this  
Darego

rendering

This topic is 2119 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

hi there, i'm pretty decent at java as a whole but i am just after starting getting into game programming. i am following this java rpg tutorial:

http://www.youtube.com/playlist?list=PLF76C2BB0B6FE7848

but i don't think i should go much further until i figure some stuff out, namely rendering. can someone please outline rendering to me in java game programming terms and how i implement it into my code? or even a link that explains graphics rendering in java? so many render() methods and i don't understand exactly how they are working

cheers Edited by Darego

Share this post


Link to post
Share on other sites
Advertisement

Hi,

 

I personally use lwjgl for 3D rendering in java and Slick2D for rendering 2D. 

 

For both libraries there are a few tutorials on the website of lwjgl: http://lwjgl.org/wiki/index.php?title=Main_Page#Getting_started. I personally used this tutorials and must say after doing a few of them I understoot how rendering works (at least with this library). The code is pretty clean so it should be fairly simple to see what is going on.

 

With kind regards,

 

StaticCube

Share this post


Link to post
Share on other sites

thanks a lot for the reply. i won't be going near any 3d stuff so i will look into slick2d :) is it possible to use lwjgl for 2d rendering also or?

Share this post


Link to post
Share on other sites

Well it is possible but for 2D I would really suggest Slick2D. The reason comes from there site to be honest ;):
Slick2D is an easy to use set of tools and utilites wrapped around LWJGL OpenGL bindings to make 2D Java game development easier.

Share this post


Link to post
Share on other sites

Actually, lwjgl is an OpenGL binding for Java, and slick2d is an lwjgl wrapper that handles the projection issues needed to render in 2D with OpenGL behind the scenes, and exposes a 2D API. In short, lwjgl can do 2D or 3D, and slick2d uses it to make it easier to do 2D.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!