PDA

View Full Version : attaching images to cube face



02-24-2002, 01:02 AM
I am trying to attach an image to a 3d cube face. Eventual goal is to have a rotating cube that has a different image on each face. Being that I am somewhat new to OpenGL I was wonder if anyone had any idea how to do this. I have the cube part down, just don'w have any idea where to start with attaching the images on the cube faces so that they will rotate the cube.

nexusone
02-24-2002, 05:03 AM
This site has a tutor on doing just that...
I think it is tutor number 7.
http://nehe.gamedev.net



Originally posted by stump:
I am trying to attach an image to a 3d cube face. Eventual goal is to have a rotating cube that has a different image on each face. Being that I am somewhat new to OpenGL I was wonder if anyone had any idea how to do this. I have the cube part down, just don'w have any idea where to start with attaching the images on the cube faces so that they will rotate the cube.