Archived

This topic is now archived and is closed to further replies.

ngc_10

Java Images...

Recommended Posts

I am having a major preformance problem with drawImage in Java. Does anyone know the most effeicent method of displaying images to the screen? Your reply would be appricated.

Share this post


Link to post
Share on other sites
This question should be posed in the Java forum, but here is a basic reply:

1. Make sure your image is in the same color format as ALL the Graphics classes you will be drawing it to.

2. Make sure your Graphics classes aren''t clearing themselves every paint()

3. Use active drawing instead of passive (search on google)

4. Use the newer 1.4 JDK with its new classes.

The performance of Java for graphics may never meet your needs. Drawing 1024x768 images at 30 fps is an unreachable goal on most computers using java.

Share this post


Link to post
Share on other sites