Difference between revisions of "Frame List Struct (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
 
(Redirected page to Frame List (RW Section)#Structure)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RW Section|Struct|0x0001}}
+
#REDIRECT [[Frame List (RW Section)#Structure]]
 
 
''This article is about the [[Struct (RW Section)|Struct]] section accompanied by a [[Frame List (RW Section)|Frame List]] parent section.''
 
 
 
The '''Frame List Struct''' section can usually be found in [[model file]]s used by the GTA III game trilogy. It provides information about the transfomations of the geometry parts.
 
 
 
==Header==
 
 
 
There is a ''4 byte'' header which contains number of frames:
 
 
 
  4b - DWORD    - Number of frames
 
 
 
==Frame Data==
 
 
 
The header is followed with the specified number of frame descriptors (''56 bytes each''):
 
 
 
36b - FLOAT[3][3] - Rotation matrix
 
12b - FLOAT[3]    - Translation vector (X, Y, Z)
 
  4b - DWORD      - Index of the parent frame (0xFFFFFFFF means this frame has no parent)
 
  4b - DWORD      - Flags (undiscovered)
 

Latest revision as of 10:48, 30 October 2010