Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fast graphics in Java

 
Daniel Gen Li
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've finally got the timing and sprites things to work correctly, but I face a problem of speed....

I would like to ask for some tips on how to make graphics rendering as efficient as possible. For example, what Type of images to use, what methods to use when scaling, resizing, and rotating images, and System values that can be set. Just generally anything that would help to draw graphics as fast as possible.

Then I will perhaps compile them into a list of things and leave it on this post so people can get some tips from it. =)
 
Daniel Gen Li
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was once at your stage. To face the truth, if your using standard java graphics commands, efficiency will be a real pain because there's no way you'd render something complicated at blazing fast speed. which is why I'm sticking to LWJGL which incorporates OpenGL to render your graphics. If you're not familiar with OpenGL, then I'd recommend the Slick2D engine. It's really simple to understand and use.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic