Difference between revisions of "Sims 3:0x01D0E6FB"
From SimsWiki
m |
m (→Overview) |
||
Line 9: | Line 9: | ||
==Overview== | ==Overview== | ||
This is a [[Sims 3:RCOL]] chunk found embedded in [[Sims 3:0x01661233|MODL]] and [[Sims 3:0x01D10F34|MLOD]] resources. | This is a [[Sims 3:RCOL]] chunk found embedded in [[Sims 3:0x01661233|MODL]] and [[Sims 3:0x01D10F34|MLOD]] resources. | ||
− | DWORD // 'VBUF' | + | DWORD // 'VBUF' |
− | DWORD // 00000101 | + | DWORD // 00000101 |
− | DWORD // 0 | + | DWORD // 0 |
− | DWORD SwizzleInfo// [[Sims_3:RCOL#References|RCOL reference]] of a [[#Swizzle_Info|Swizzle Info]] block(no tag, TGI:0x0000000-0x00000000-0x0000000000000000) | + | DWORD SwizzleInfo // [[Sims_3:RCOL#References|RCOL reference]] of a [[#Swizzle_Info|Swizzle Info]] block(no tag, TGI:0x0000000-0x00000000-0x0000000000000000) |
− | {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 | |
==Swizzle Info== | ==Swizzle Info== |
Latest revision as of 11:08, 20 March 2011
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 0x0229684B | |
Game Version: | The Sims 3 |
[edit] Overview
This is a Sims 3:RCOL chunk found embedded in MODL and MLOD resources.
DWORD // 'VBUF' DWORD // 00000101 DWORD // 0 DWORD SwizzleInfo // RCOL reference of a Swizzle Info block(no tag, TGI:0x0000000-0x00000000-0x0000000000000000) {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
[edit] Swizzle Info
Unnamed block referenced only by vertex buffers
DWORD segmentCount //1 for each group that uses the VBUF --repeat(segmentCount) DWORD VertexSize // size in bytes of this entry DWORD VertexCount// number of verts used in the group DWORD ByteOffset// offset into VBUF in bytes --repeat(VertexSize/4) DWORD SwizzleCommand
[edit] Swizzle Commands
Type ID | Name | Description |
---|---|---|
0x00000000 | None | |
0x00000001 | Swizzle32 | |
0x00000002 | Swizzle16x2 |
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 |