Skip to main content
GameDev.net gamedev.net
🔒 Locked

Mesh's textures

Started by Duff May 18, 2003 at 9:43 AM 3 replies 1.2k views
Original Post
Duff
Duff
How can i set a texture for a mesh created with, in example, D3DXCreatepolygon or ..createBox. I use SetTexture(0, mytextureData) but nothing...why? Must I set the material?Nooooo Please Help me!
Duff
Duff
how can i set texture coodinates for a mesh?
Arie Horst
Arie Horst
You also need to set some texture stages. and it is a good idee to model a object first, e.g. in 3DS MAX an convert them to x files and then load them.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.