Difference between revisions of "Sims 3:0x01D0E6FB"

From SimsWiki
Jump to: navigation, search
(Overview)
Line 12: Line 12:
 
  DWORD // 00000101
 
  DWORD // 00000101
 
  DWORD // 0
 
  DWORD // 0
  DWORD MATD index, or'd with 0x10000000. Relative to this block index.
+
  DWORD index to unnamed block(no tag, TGI:0x0000000-0x00000000-0x0000000000000000), or'd with 0x10000000. Relative to MLOD.
 
  {data} // Data format is described by the [[Sims 3:0x01D0E723|VRTF description]]
 
  {data} // Data format is described by the [[Sims 3:0x01D0E723|VRTF description]]
 
  If VRTF is not present, then it is a 16 byte vertex size, or 8 byte if the type for this VBUF is 0x00005003
 
  If VRTF is not present, then it is a 16 byte vertex size, or 8 byte if the type for this VBUF is 0x00005003
 +
 +
Unnamed block:
 +
DWORD count //1 for each group that uses the VBUF
 +
--repeat(count)
 +
    DWORD // size in bytes of this entry
 +
    DWORD // number of verts used in the group
 +
    DWORD // offset into VBUF in bytes
 +
    DWORD[size/4]
  
 
Based on contributions from delphy, karybdis and atavera
 
Based on contributions from delphy, karybdis and atavera
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Revision as of 21:51, 17 September 2010

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Vertex Buffer - VBUF
TypeID:0x01D0E6FB
Game Version:The Sims 3



Overview

This is a Sims 3:RCOL chunk found embedded in MODL and MLOD resources.

DWORD // 'VBUF'
DWORD // 00000101
DWORD // 0
DWORD index to unnamed block(no tag, TGI:0x0000000-0x00000000-0x0000000000000000), or'd with 0x10000000. Relative to MLOD.
{data} // Data format is described by the VRTF description
If VRTF is not present, then it is a 16 byte vertex size, or 8 byte if the type for this VBUF is 0x00005003

Unnamed block:

DWORD count //1 for each group that uses the VBUF
--repeat(count)
    DWORD // size in bytes of this entry
    DWORD // number of verts used in the group
    DWORD // offset into VBUF in bytes
    DWORD[size/4]

Based on contributions from delphy, karybdis and atavera

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox