Difference between revisions of "Talk:RpGeometry"

From GTAMods Wiki
Jump to navigation Jump to search
(correcting myself...)
Line 2: Line 2:
 
Under the "Structure" heading, you have an extra 2 byte value added which doesn't exist in the PC version of a DFF file, check for yourself. Should this be changed? Or maybe this is for another machine, such as the PS2? Here's the way I see the first structure.
 
Under the "Structure" heading, you have an extra 2 byte value added which doesn't exist in the PC version of a DFF file, check for yourself. Should this be changed? Or maybe this is for another machine, such as the PS2? Here's the way I see the first structure.
  
  2b - WORD  - Flags (See [[Geometry (RW Section)#Flags|below]])
+
  2b - Flags  
  2b - WORD  - Unknown (usually 0 and 1 on PS2)
+
  2b - Unknown  
  4b - DWORD  - Triangle count
+
  4b - Triangle count
  4b - DWORD  - Vertex count
+
  4b - Vertex count
  4b - DWORD  - Morph Target Count
+
  4b - Morph Target Count
 +
 
 +
This is confirmed for GTA:SA DFF files on the PC.

Revision as of 21:41, 7 January 2011

Possible incorrect structure

Under the "Structure" heading, you have an extra 2 byte value added which doesn't exist in the PC version of a DFF file, check for yourself. Should this be changed? Or maybe this is for another machine, such as the PS2? Here's the way I see the first structure.

2b - Flags 
2b - Unknown 
4b - Triangle count
4b - Vertex count
4b - Morph Target Count

This is confirmed for GTA:SA DFF files on the PC.