Could you give a bit more code? Also, how are you rendering the meshes?
Structure:
----------
Structure CustomMeshX
Public Mesh as Direct3D.Mesh
Public numX as integer
Public Tex() as Direct3D.Texture
Public Mat() as Direct3D.Material
End Structure
Form Load procedure:
---------------------
Form1.Show
Initialise Direct3D
Dim mMesh as CustomMeshX
While Me.Created
d3ddevice.beginscene()
For i = 0 to mMesh.numX
d3ddevice.settexture(0, mMesh.Tex(i))
d3ddevice.material = mMesh.mat(i)
mMesh.Mesh.drawsubset(i)
Next i
d3ddevice.endscene()
d3ddevice.present()
application.doevents
Wend