PDA

View Full Version : help with textures



jono_123
03-31-2002, 06:30 PM
i have looked at many tutorials and downloaded lots of examples but i still cant get textures right
could someone please write me an example for opengl in c++ that puts a bitmap image on the side of a cube?
if you can that would be great thanx
jono http://www.opengl.org/discussion_boards/ubb/smile.gif

Morglum
04-01-2002, 12:22 AM
Nehe certainly has a tutorial for you :
nehe.gamedev.net

More precisely, that's lesson 6 : http://nehe.gamedev.net/tutorials/lesson06.asp

Morglum

[This message has been edited by Morglum (edited 04-01-2002).]

jono_123
04-01-2002, 05:49 PM
i have read the tutorials and nehe over and over and i have downloaded the code but still i cant get it to work
i think my problem is that i can load the bitmap in the first place

nexusone
04-01-2002, 06:53 PM
What is the problem?
Your compiler gives you error's?
The program does not work as expected?
Give us a little more to work with.....

http://www.opengl.org/discussion_boards/ubb/smile.gif


Originally posted by jono_123:
i have read the tutorials and nehe over and over and i have downloaded the code but still i cant get it to work
i think my problem is that i can load the bitmap in the first place