View on GitHub

Load an image in OpenGL

A simple program which adds an image (as texture) to your openGL program using SOIL libraries.

Download this project as a .zip file Download this project as a tar.gz file

A simple program to add image to your OpenGL project

See main.cpp for source code

Note:
SOIL library has been used to load images as texture.
All libraries can be downloaded from: http://www.lonesock.net/soil.html

For more info on functions and their arguments goto:
http://ihge.googlecode.com/svn/trunk/src/core/soil/SOIL.h