View Full Version : SubMesh -> Mesh

15-06-2003, 10:12 AM
Hi all!

I've a D3XMesh that contains SubMeshes.

I'd like to separate each SubMesh a create a single D3DXMesh for each one.

How can i do? The only method relative to submeshes is DrawSubset! :(

May i have to lock vb and copy vertex by vertex by material? :drunk:

Hmm... :?:

15-06-2003, 12:14 PM
Meshes are separated by attributes (materials, etc) - dig at GetAttributeTable(...)