Difference between revisions of "Spore:01C135DA"
From SimsWiki
Line 1: | Line 1: | ||
copied from: http://www.customsims3.com/forum1/YaBB.pl?num=1214408105 | copied from: http://www.customsims3.com/forum1/YaBB.pl?num=1214408105 | ||
+ | |||
+ | GMSH (mesh) format. This is a second mesh format that uses just one group, and seems to be used for mostly parts. | ||
+ | |||
<pre> | <pre> | ||
// Header: | // Header: |
Latest revision as of 23:54, 19 January 2009
copied from: http://www.customsims3.com/forum1/YaBB.pl?num=1214408105
GMSH (mesh) format. This is a second mesh format that uses just one group, and seems to be used for mostly parts.
// Header: // DWordBE 1 [Big Endian] // DWordBE 1 [Big Endian] // WordBE unk1 [purpose unknown] // WordBE unk2 [purpose unknown] // WordBE BlockCount [number of per-Vertex blocks] // // for each BlockCount: // Word type // Word subtype? // Word termnull // WordBE itemct // WordBE itemsz // byte[itemct*itemsz] // // known types: // 0x0001 Vertices // 0x0002 Normals // 0x0008 UVs // 0x0000 facepoints // // The facepoints are an array of word indexes into the vertices. It is // formatted just like the other blocks, but is located immediately after // the end of the last block indicated by BlockCount. Total faces will // be equal to facepoints/3. // // Remainder of file: unknown purpose (perhaps materials data)