I want to change the Tex coords of a D3DX mesh
So suppose i create a box with D3DXCreateBox(), which is infact exactly what i did. Real neat, except for one problem. The texture coords are all 0. Not cool. Is there anyway i can modify the tex coords?
-----------------------------
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.
lock the vertex buffer and change them.
If the vertex format doesn''t include tex coords, clone the mesh to a format that does.
If the vertex format doesn''t include tex coords, clone the mesh to a format that does.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement