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.
|
|
|
Vorg — Tag Cloud
Written by dustin Latest PhotoQuote of Now:FriendsPopular PostsComputer Games
|