Joined: Jan 18, 2008 Posts: 1191 Location: Memphis TN
Status: Offline
Posted: Mon Jul 26, 2010 8:02 am Post subject: VMeshData
Use
**************
Stores mesh data
Format
**************
> Header
U - Mesh type - unknown
U - Surface type - unknown
W - Mesh count - number of meshes stored in this node
W - Face index count (/3 to get face count)
W - FVF - DirectX Flexible Vertex Format (see MSDN for bit descriptions)
W - Vertices count
> for (n) (where n equals mesh count)
U - Material hash
W - Start or offset vertex
W - End or offset end vertex (offset is based on start offset)
X3 - Index count (add each index to get actual index number)
B - Padding
> for (n) (where n equals face index count/3)
W - face index 1
W - face index 2
W - face index 3
This section totally depends on the FVF and will not be described
See the MSDN reference material for an explanation of the FVF format
> for (n) (where n equals vertices count)
read vertex here
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum