help with textures

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

I have already told you to go to nehe.gamedev.net.

And this has nothing to do on the advanced forum, especially since you’ve already posted it on the beginner forum.

Yes, please do. If those tutorials can’t help you out, then drop me an email, will you?

Originally posted by jono_123:
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

Hello
Texture Mapping is really an easy thing to do. Have you tried to texturize something ?? if so then there must be something wrong with your texture coordinates.
Just compare your code with texture mapping tutorial on
nehe.gamedev.net

thats it. If u need some more help we are here.Try our best to help you out.

Try using
Glenum glGetError()
then
const GLubyte *gluErrorString(GLenum)

to get the last occured error.

Good Luck buddy
bye take care

Speak for yourself, immy.

So should you, knackered. (Even though I agree this is a beginners question.)