Textures in OpenGL

 

Here are some slides about OpenGL's support for texture mapping

Here are 3 test programs:

If you use the file textures, remember that by default Eclipse expects a file to be in the project folder, not in the src folder with your code.