2011-01-23

Double image buffering with a slice of cold

Hello everyone!

The follow days have been spent with two things, java and a terrible cold. Good thing that you don't need to be physically healthy to be able to code!

I've spent today and yesterday coding, mainly learning graphics programming with the use of double image buffers. A double image buffer is basically an image that the computer draws on before it is being displayed on the screen. While it draws on the image not being displayed, it displays an image that it previously draw on the back buffer. Why do you learn this you might ask. Well it's to improve frame rate and quality while animating, you see if you animate with a single image the computer will have to redraw that image around 50-60 times each second. on the screen. Since it draws it at such a rapid rate it might not have time to properly load the image before it is displayed, this results in flickering. I want to avoid that when creating games, therefore i learn to build double image buffers! :D

Apart from double image buffers I've learned to embed a java applet into a web page. Thanks to the guys at www.thenewboston.com for the help!
Please note that the little neat fishes on this page is NOT my creation nor a product of my awesome embedding knowledge. I will however try to bring up a little tech demo later on.


Thanks for reading and stay tuned for future updates!
 //Kurten

No comments:

Post a Comment