Difference between revisions of "Sims 3:0x01D10F34"

From SimsWiki
Jump to: navigation, search
 
Line 3: Line 3:
 
<hr/>
 
<hr/>
 
==Object Model LOD==
 
==Object Model LOD==
This is a [[Sims_3:RCOL]] chunk.  ''LOD'' means ''Level of distance''.
+
This is a [[Sims_3:RCOL]] chunk.  ''LOD'' means ''Level of detail''. This chunk is found in both .lod and .model files, and it is a the key that maps each mesh group to the appropriate parts of VRTF, VBUF, IBUF, SKIN and MATD chunks. It is the one ring to rule them all.
  DWORD // 'MLOD'
+
  DWORD   // 'MLOD'
  {data} // unknown data content to end of chunk
+
  DWORD  type
 +
DWORD  count
 +
repeat count times:
 +
    DWORD  subset_bytes // number of bytes in this repetition
 +
    DWORD  unknown purpose
 +
    DWORD  MATD        // or'd with 0x10000000, is relative to this block index
 +
    DWORD  VRTF        // or'd with 0x10000000, is relative to this block index
 +
    DWORD  VBUF        // or'd with 0x10000000, is relative to this block index
 +
    DWORD  IBUF        // or'd with 0x10000000, is relative to this block index
 +
    DWORD  VBUF type
 +
    QWORD  VBUF offset  // in bytes
 +
    QWORD  IBUF offset  // in facepoints (three per polygon)
 +
    DWORD  VBUF count  // vertex count
 +
    DWORD  IBUF count  // face count (one per polygon)
 +
    FLOAT[6] BoundingBox // MinX/MinY/MinZ/MaxX/MaxY/MaxZ for this group
 +
    DWORD  SKIN        // or'd with 0x10000000, is relative to this block index
 +
    DWORD
 +
    DWORD
 +
    DWORD  MATD        // or'd with 0x10000000, is relative to this block index
 +
    FLOAT[6]
 +
    ....                // depending on type value, additional data may be present, purpose undetermined
 
<hr/>
 
<hr/>
 
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
 
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
 
<br/>[[Sims 3:Main Page]] -> [[Sims 3:RCOL]]
 
<br/>[[Sims 3:Main Page]] -> [[Sims 3:RCOL]]

Revision as of 14:45, 28 July 2009

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL


Object Model LOD

This is a Sims_3:RCOL chunk. LOD means Level of detail. This chunk is found in both .lod and .model files, and it is a the key that maps each mesh group to the appropriate parts of VRTF, VBUF, IBUF, SKIN and MATD chunks. It is the one ring to rule them all.

DWORD   // 'MLOD'
DWORD   type
DWORD   count

repeat count times:

   DWORD   subset_bytes // number of bytes in this repetition
   DWORD   unknown purpose
   DWORD   MATD         // or'd with 0x10000000, is relative to this block index
   DWORD   VRTF         // or'd with 0x10000000, is relative to this block index
   DWORD   VBUF         // or'd with 0x10000000, is relative to this block index
   DWORD   IBUF         // or'd with 0x10000000, is relative to this block index
   DWORD   VBUF type
   QWORD   VBUF offset  // in bytes
   QWORD   IBUF offset  // in facepoints (three per polygon)
   DWORD   VBUF count   // vertex count
   DWORD   IBUF count   // face count (one per polygon)
   FLOAT[6] BoundingBox // MinX/MinY/MinZ/MaxX/MaxY/MaxZ for this group
   DWORD   SKIN         // or'd with 0x10000000, is relative to this block index
   DWORD
   DWORD
   DWORD   MATD         // or'd with 0x10000000, is relative to this block index
   FLOAT[6]
   ....                 // depending on type value, additional data may be present, purpose undetermined

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox