PDA

View Full Version : Texture Problem



ankur2000
05-20-2005, 08:19 AM
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 ?

-Thanks
Ankur

T101
05-20-2005, 09:38 PM
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.