OBD:ONFA: Difference between revisions
Jump to navigation
Jump to search
m (matrix) |
m (fixing error caught by MW software) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=ONFA | prev=ONCV | next=ONGS | name=Imported Flag Node Array | family=Level | align=center}} | |||
[[image:onfa_a.gif]] | |||
{{Table}} | |||
{{OBDth}} | |||
{{OBDtr| 0x00 | res_id |FF0000| 01 99 02 00 | 665 | 00665-.ONFA }} | |||
{{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | |||
{{OBDtr| 0x08 | char[20] |00FF00| AD DE | dead | unused }} | |||
{{OBDtr| 0x1C | int16 |00FFFF| 0D 00 | 13 | used elements in the array }} | |||
{{OBDtr| 0x1E | int16 |FF00FF| 71 00 | 113 | array size }} | |||
{{OBDtrBK}} | |||
{{OBDtr| 0x00 | float |FFC8C8| 00 00 80 3F | 1.000000 | transformation matrix, xx term }} | |||
{{OBDtr| 0x04 | float |FFC8C8| 2F BD 3B B3 |-0.000000...| transformation matrix, xy term }} | |||
{{OBDtr| 0x08 | float |FFC8C8| 81 BC 40 34 | 0.000000...| transformation matrix, xz term }} | |||
{{OBDtr| 0x0C | float |FFFFC8| 2C BD 3B 33 | 0.000000...| transformation matrix, yx term }} | |||
{{OBDtr| 0x10 | float |FFFFC8| 00 00 80 3F | 1.000000 | transformation matrix, yy term }} | |||
{{OBDtr| 0x14 | float |FFFFC8| BA F4 6E 33 | 0.000000...| transformation matrix, yz term }} | |||
{{OBDtr| 0x18 | float |C8FFC8| 81 BC 40 B4 |-0.000000...| transformation matrix, zx term }} | |||
{{OBDtr| 0x1C | float |C8FFC8| B7 F4 6E B3 |-0.000000...| transformation matrix, zy term }} | |||
{{OBDtr| 0x20 | float |C8FFC8| 00 00 80 3F | 1.000000 | transformation matrix, zz term }} | |||
{{OBDtr| 0x24 | float |C8FFFF| 9D A7 A4 41 | 20.581842 | x-position }} | |||
{{OBDtr| 0x28 | float |C8FFFF| 0D AE 4B 41 | 12.729993 | y-position (height) }} | |||
{{OBDtr| 0x2C | float |C8FFFF| 45 B5 A7 C3 | -335.416168| z-position }} | |||
{{OBDtr| 0x30 | float |FFC8FF| 9D A7 A4 41 | 20.581842 | x-position again }} | |||
{{OBDtr| 0x34 | float |FFC8FF| 0D AE 4B 41 | 12.729993 | y-position (height) again }} | |||
{{OBDtr| 0x38 | float |FFC8FF| 45 B5 A7 C3 | -335.416168| z-position again }} | |||
{{OBDtr| 0x3C | float |FFC800| D9 0F C9 3F | 1.570796 | unknown (1.57 <nowiki>=</nowiki> pi/2) }} | |||
{{OBDtr| 0x40 | int16 |C800C8| 00 00 | 0 | flag node ID }} | |||
{{OBDtr| 0x42 | int16 |C87C64| 00 01 | 256 | unknown }} | |||
|} | |||
;Transformation matrix | ;Transformation matrix | ||
:A 3x3 matrix is the canonic way to define linear transformations of 3D stuff | :A 3x3 matrix is the canonic way to define linear transformations of 3D stuff | ||
Line 114: | Line 39: | ||
:I'm not sure what 3D data is implied here; it's more obvious in, e.g., [[OBD:CRSA|CRSA]] or [[OBD:ENVP|ENVP]]. | :I'm not sure what 3D data is implied here; it's more obvious in, e.g., [[OBD:CRSA|CRSA]] or [[OBD:ENVP|ENVP]]. | ||
{{OBD_File_Footer | type=ONFA | prev=ONCV | next=ONGS | name=Imported Flag Node Array | family=Level}} | |||
{{OBD}} |
Latest revision as of 04:24, 20 February 2018
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 99 02 00 | 665 | 00665-.ONFA |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | char[20] | AD DE | dead | unused |
0x1C | int16 | 0D 00 | 13 | used elements in the array |
0x1E | int16 | 71 00 | 113 | array size |
First element (black outline) | ||||
0x00 | float | 00 00 80 3F | 1.000000 | transformation matrix, xx term |
0x04 | float | 2F BD 3B B3 | -0.000000... | transformation matrix, xy term |
0x08 | float | 81 BC 40 34 | 0.000000... | transformation matrix, xz term |
0x0C | float | 2C BD 3B 33 | 0.000000... | transformation matrix, yx term |
0x10 | float | 00 00 80 3F | 1.000000 | transformation matrix, yy term |
0x14 | float | BA F4 6E 33 | 0.000000... | transformation matrix, yz term |
0x18 | float | 81 BC 40 B4 | -0.000000... | transformation matrix, zx term |
0x1C | float | B7 F4 6E B3 | -0.000000... | transformation matrix, zy term |
0x20 | float | 00 00 80 3F | 1.000000 | transformation matrix, zz term |
0x24 | float | 9D A7 A4 41 | 20.581842 | x-position |
0x28 | float | 0D AE 4B 41 | 12.729993 | y-position (height) |
0x2C | float | 45 B5 A7 C3 | -335.416168 | z-position |
0x30 | float | 9D A7 A4 41 | 20.581842 | x-position again |
0x34 | float | 0D AE 4B 41 | 12.729993 | y-position (height) again |
0x38 | float | 45 B5 A7 C3 | -335.416168 | z-position again |
0x3C | float | D9 0F C9 3F | 1.570796 | unknown (1.57 = pi/2) |
0x40 | int16 | 00 00 | 0 | flag node ID |
0x42 | int16 | 00 01 | 256 | unknown |
- Transformation matrix
- A 3x3 matrix is the canonic way to define linear transformations of 3D stuff
- (rotations, scaling, shearing, mirroring, in every possible combination)
- I'm not sure what 3D data is implied here; it's more obvious in, e.g., CRSA or ENVP.
ONI BINARY DATA |
---|
ONCV << Other file types >> ONGS |
ONFA : Imported Flag Node Array |
Level file |