[gameprogrammer] Re: (no subject)
- From: Scott Harper <lareon@xxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Tue, 15 May 2007 21:28:03 -0600
I don't know how GIF files (or AVI files, for that matter) are
stored, but you can find libraries to do that for you. Once you can
read the frame data from either of them, you can upload the frame
data to a new texture (using glTexSubImage2D() ), or for smaller
animations (fewer frames, I mean) you could just make textures for
each frame and then switch between textures once the animation
frame's duration is up.
I also recommend for small animations simply making one texture with
all the frames laid out within it, and switching to use different
texture coordinates, though I realize this isn't what your question
was. ^_^
-- Scott
On 2007/05/14, at 6:29, Yasser Gonzalez wrote:
Once again with my question
How I put a animated gif or an avi file like a texture using opengl?
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Josh Stewart
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez
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
Once again with my question How I put a animated gif or an avi file like a texture using opengl? --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- (no subject)
- From: Breton Julien
- [gameprogrammer] Re: (no subject)
- From: Josh Stewart
- [gameprogrammer] Re: (no subject)
- From: Yasser Gonzalez