[gameprogrammer] Re: (no subject)
- From: David Olofson <david@xxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Wed, 16 May 2007 15:09:32 +0200
On Wednesday 16 May 2007, Webmaster wrote:
> The only thing I can think of is to load the animated gif as a
> series of images, then load and unload the images in succession to
> the object.
>
> Sounds slow to me...
Why? It's the only way to do it, basically - but the devil is in the
details. :-)
For maximum performance in this particular case, how about uploading
all frames as textures at loading time and then animate by just
selecting textures based on current time? Dead simple, and I don't
think it gets much faster than that, as long as you're not running
out of texture memory.
//David Olofson - Programmer, Composer, Open Source Advocate
.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
'-- http://www.reologica.se - Rheology instrumentation --'
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: (no subject)
- From: Kuon - Nicolas Goy - 時期精霊 (Goyman.com SA) - 675
- References:
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez
- [gameprogrammer] Re: (no subject)
- From: Webmaster
Other related posts:
- » [gameprogrammer]
- » [gameprogrammer]
- » (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer]
- » (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » [gameprogrammer] Re: (no subject)
- » (no subject)
- » [gameprogrammer] (no subject) - julian stanley
- » [gameprogrammer] Re: (no subject) - Harrington, Timothy
- » [gameprogrammer] Re: (no subject) - Alan Wolfe
- » [gameprogrammer] Re: (no subject) - julian stanley
- » [gameprogrammer] Re: (no subject) - julian stanley
- » [gameprogrammer] Re: (no subject) - Alan Wolfe
- » [gameprogrammer] Re: (no subject) - Alan Wolfe
- » [gameprogrammer] Re: (no subject) - Harrington, Timothy
- » [gameprogrammer] Re: (no subject) - Jason Harrison
- » [gameprogrammer] (no subject) - julian stanley
- » [gameprogrammer] Re: (no subject) - Chris Nystrom
- » [gameprogrammer] (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Łukasz Pasek
- » [gameprogrammer] Re: (no subject) - Richard Sabbarton
- » [gameprogrammer] Re: (no subject) - Matthew Weigel
- » [gameprogrammer] Re: (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Dominic McDonnell
- » [gameprogrammer] Re: (no subject) - tommy crayon
- » [gameprogrammer] Re: (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Matthew Weigel
- » [gameprogrammer] Re: (no subject) - Richard Sabbarton
- » [gameprogrammer] Re: (no subject) - Ross T
- » [gameprogrammer] (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Łukasz Pasek
- » [gameprogrammer] Re: (no subject) - Dominic McDonnell
- » [gameprogrammer] Re: (no subject) - Alan Wolfe
- » [gameprogrammer] Re: (no subject) - Julian Stanley
- » [gameprogrammer] Re: (no subject) - Łukasz Pasek
- » [gameprogrammer] Re: (no subject) - Łukasz Pasek
- » [gameprogrammer] Re: (no subject) - Dominic McDonnell
- [gameprogrammer] Re: (no subject)
- From: Kuon - Nicolas Goy - 時期精霊 (Goyman.com SA) - 675
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez
- [gameprogrammer] Re: (no subject)
- From: Webmaster