Hi…I have a box moving in a 3D space…now i want to have a floor and walls for the box in the x-y , x-z, and the y-z planes. I want to load the image which i want have in the wall from a file.
I am trying to use textures for that but its not working. Does anyone have any idea ?
Dude. Not an advanced question.
You should at least post some code.
And look in the texture mapping chapter of the redbook. It’s available on the site - in the documentation menu (the one that so annoyingly drops down when you pass your mouse over it).
If you still don’t understand, have a look at the nehe tutorials ( http://nehe.gamedev.net/ ) . They tend to be useful introductions to such features.