Advertisement

Load image

Started by July 19, 2004 01:08 PM
1 comment, last by Corrail 20 years, 4 months ago
How to load an bmp image for OpenGL usage?
If you take a look at Game Tutorials, OpenGL tutorials Page 2, they have an example in which they load a bitmap as a texture. There's also examples for JPEG and TGA.

Alternatively, Kevin and Dave's book "Beginning OpenGL Games Programming has a section on how to do this too.
Advertisement
Take a look at OpenIL which is a OpenGL-Syntax like library for image loading/saving/processing.
http://openil.sourceforge.net/
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...

This topic is closed to new replies.

Advertisement