Load image
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.
Alternatively, Kevin and Dave's book "Beginning OpenGL Games Programming has a section on how to do this too.
Take a look at OpenIL which is a OpenGL-Syntax like library for image loading/saving/processing.
http://openil.sourceforge.net/
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
Popular Topics
Advertisement