Difference between revisions of "Sims 3:0x01D0E723"

From SimsWiki
Jump to: navigation, search
Line 10: Line 10:
 
  DWORD // Unknown (0)
 
  DWORD // Unknown (0)
 
   
 
   
  For each count vertex declaration, a packed form of D3DVERTEXELEMENT
+
  For each count vertex declaration, a packed form of [http://msdn.microsoft.com/en-us/library/bb172630(VS.85).aspx D3DVERTEXELEMENT]
  BYTE Usage // D3DDECLUSAGE
+
  BYTE Usage // One of [http://msdn.microsoft.com/en-us/library/bb172534(VS.85).aspx D3DDECLUSAGE]
 
  BYTE UsageIndex
 
  BYTE UsageIndex
  BYTE Type // D3DDECLTYPE
+
  BYTE Type // Data type, one of [http://msdn.microsoft.com/en-us/library/bb172533(VS.85).aspx D3DDECLTYPE]
 
  BYTE Offset // Offset into the vertex declaration for the data
 
  BYTE Offset // Offset into the vertex declaration for the data
  

Revision as of 09:31, 3 July 2009

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


Vertex Format

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

DWORD // 'VRTF'
DWORD // 00000002
DWORD // Vertex data length (Bytes)
DWORD // Declaration count
DWORD // Unknown (0)

For each count vertex declaration, a packed form of D3DVERTEXELEMENT
BYTE Usage // One of D3DDECLUSAGE
BYTE UsageIndex
BYTE Type // Data type, one of D3DDECLTYPE
BYTE Offset // Offset into the vertex declaration for the data

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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox