[gameprogrammer] Re: (no subject)
- From: " Kuon - Nicolas Goy - 時期精霊 (Goyman.com SA) - 675 " <kuon@xxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Wed, 16 May 2007 15:22:36 +0200
On 16 May 2007, at 3:09 PM, David Olofson wrote:
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.
Yea, this is the idea, but don't use 1 texture per frame, prefer big
textures with multiple frames in it, and simply use coordinates.
--
Kuon
"Don't press that button."
http://goyman.com/
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: (no subject)
- From: David Olofson
- References:
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez
- [gameprogrammer] Re: (no subject)
- From: Webmaster
- [gameprogrammer] Re: (no subject)
- From: David Olofson
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
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.
- [gameprogrammer] Re: (no subject)
- From: David Olofson
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez
- [gameprogrammer] Re: (no subject)
- From: Webmaster
- [gameprogrammer] Re: (no subject)
- From: David Olofson