Graphic performance improvements

After my last post I have been working some more on the explosions in Lux. I took a look at the code responsible for the drawing and saw that the fact I was storing all the frames of an animation in the same image was causing a performance hit. I was clipping the drawing area and drawing more then the frame that was needed. This was truly a silly thing to do, but it did work.

So I changed the way that I was storing animation frames. Now each frame is kept in a different image. After redoing the explosion drawing code for this the explosions are noticeably smoother. I am very pleased.

Posted by dustin on March 30, 2005 with category tags of

   

VorgTag Cloud

Written by dustin
Latest Photo
Quote of Now:
Friends
Popular Posts
Computer Games

Hey You! Subscribe to dustin's RSS feed.
Or get wider opinion in the Vorg All Author feed.

 
 

Members login here.
© Vorg Group.