PDA

View Full Version : document for loading and displaying jpg,gif?



mehdi
07-24-2003, 11:16 PM
i m waiting

yaro_dup1
07-25-2003, 02:26 AM
Search for DevIL or OpenIL libraries.

nexusone
07-25-2003, 03:55 AM
Try a google search on the GIF and JPG format.

Also at nehe.gamedev.net he has a image loading examples and has written an program that will load just about any image format.



Originally posted by mehdi:
i m waiting

GL_ZERO
07-25-2003, 07:02 AM
is it also possible to use animated gif's in OpenG: ?:

Bob
07-25-2003, 07:58 AM
Originally posted by GL_ZERO:
is it also possible to use animated gif's in OpenG: ?:
There's nothing with animated GIF's that stops you from displaying them in OpenGL. Just display the different frames at different times. OpenGL doesn't care (or even know) what the original format was before you decompressed the file to raw data.

nexusone
07-25-2003, 08:24 AM
Sure you could use animated GIF's in openGL, just need routine to load it in and write a routine to do the animation.



Originally posted by GL_ZERO:
is it also possible to use animated gif's in OpenG: ?:

JanHH
07-25-2003, 08:53 AM
http://www.the-labs.com/JPEG/libjpeg.html

don't use gif