PDA

View Full Version : 3D Cube Texturing



Stack Overflow
12-06-2002, 09:11 AM
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

yakuza
12-06-2002, 09:24 AM
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

Dogcow
12-06-2002, 11:06 AM
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!"

Stack Overflow
12-06-2002, 11:11 AM
Thanx!!!