• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Fast graphics in Java

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic