I want to change the Tex coords of a D3DX mesh

Started by
0 comments, last by Promit 22 years, 3 months ago
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.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Advertisement
lock the vertex buffer and change them.

If the vertex format doesn''t include tex coords, clone the mesh to a format that does.
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials

This topic is closed to new replies.

Advertisement