PDA

View Full Version : opengl and animated gif



lelou
02-01-2002, 11:37 PM
hello,

i write very bad english so ...

I want to know how use animated gif instead of bmp ?????? or, how use un file *.gif instead of file *.bmp ?

Thanks!

Bob
02-02-2002, 02:58 AM
Either go to Wotsit (http://www.wotsit.org) and check the fileformat for GIFs, or download a third party library to load the files for you. Don't know of any libraries that handle GIFs though.

nexusone
02-03-2002, 05:18 AM
Due to some copyright issues, not much support of GIF loading.
You may find that using TGA format is a better choice since it is very well supported and lot's of examples of loading TGA.

I think if you want a animated texture, then use muliple images to create the animation. This would be the easy way, then you just change the texture to simulate animation.


Originally posted by lelou:
hello,

i write very bad english so ...

I want to know how use animated gif instead of bmp ?????? or, how use un file *.gif instead of file *.bmp ?

Thanks!