3D Cube Texturing

Hello,

I have created a cube screensaver that uses 2D Texturing “Texture Mapping” with the red book. Is there a way that I can load a bitmap from file and texture the cube with that image?

-Thank You

There are a ton of tutorials out there, and I’m sure a google search on “texture mapping opengl cubes” would turn up tons of results.

Here’s links to 2 sites which I know have tutorials on exactly what you are asking:
http://nehe.gamedev.net
http://www.gametutorials.com

I also recommend the tutorials at Nehe. They have code for pretty much every platform so you should hopefully be able to find a texture loader that works for you.

-Dogcow “moof!”

Thanx!!!