Difference between revisions of "Talk:RpGeometry"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '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…')
 
Line 1: Line 1:
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?
+
== 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 - WORD  - Flags (See [[Geometry (RW Section)#Flags|below]])
 +
2b - WORD  - Unknown (usually 0 and 1 on PS2)
 +
4b - DWORD  - Triangle count
 +
4b - DWORD  - Vertex count
 +
4b - DWORD  - Morph Target Count

Revision as of 21:40, 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 - WORD   - Flags (See below)
2b - WORD   - Unknown (usually 0 and 1 on PS2)
4b - DWORD  - Triangle count
4b - DWORD  - Vertex count
4b - DWORD  - Morph Target Count