OBD:AKBA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (cleanup)
No edit summary
Line 12: Line 12:
{{OBDtr | 0x1C | int32    |00FFFF| B7 06 00 00 | 1719    | array size }}
{{OBDtr | 0x1C | int32    |00FFFF| B7 06 00 00 | 1719    | array size }}
{{OBDtrBK}}
{{OBDtrBK}}
{{OBDtr | 0x00 | int32hb  |FFC8C8| 00 00 00 00 |0, hig bit| plane equation for this "side" (see [[OBD:AKEV|AKEV]] / [[OBD:PLEA|PLEA]]); high bit reverses normal }}
{{OBDtr | 0x00 | int32hb  |FFC8C8| 00 00 00 00 |0, hig bit| plane index for this "side" (see [[OBD:AKEV|AKEV]] / [[OBD:PLEA|PLEA]]); high bit flips the plane }}
{{OBDtr | 0x04 | int32    |FFFFC8| 00 00 00 00 | 0        | [[OBD:AKAA|AKAA]] range start (adjacencies for this side) }}
{{OBDtr | 0x04 | int32    |FFFFC8| 00 00 00 00 | 0        | [[OBD:AKAA|AKAA]] range start (adjacencies for this side) }}
{{OBDtr | 0x08 | int32    |C8FFC8| 01 00 00 00 | 1        | [[OBD:AKAA|AKAA]] range end (adjacencies for this side) }}
{{OBDtr | 0x08 | int32    |C8FFC8| 01 00 00 00 | 1        | [[OBD:AKAA|AKAA]] range end (adjacencies for this side) }}
Line 21: Line 21:
|}
|}


;Plane
It appears that the plane is ignored by the engine. In particular if a side has adjacencies then it has ghost quads and any quad has an associated plane. Sometimes the ghost quads are inside the BNV (instead of being on the edge) and in that case the quad plane is different from the side plane.


;[[OBD:AKAA|AKAA]] range
;[[OBD:AKAA|AKAA]] range

Revision as of 13:40, 1 January 2010

ONI BINARY DATA
AKAA << Other file types >> AKBP
AKBA : Side Array
switch to XML:AKBA page
Overview @ Oni Stuff
OBD.png


Akba a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 4F 02 00 591 00591-.AKBA
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead unused
0x1C int32 B7 06 00 00 1719 array size
First element (black outline)
0x00 int32hb 00 00 00 00 0, hig bit plane index for this "side" (see AKEV / PLEA); high bit flips the plane
0x04 int32 00 00 00 00 0 AKAA range start (adjacencies for this side)
0x08 int32 01 00 00 00 1 AKAA range end (adjacencies for this side)
0x0C int32 00 00 00 00 0 ignored
0x10 int32 01 00 00 00 1 ignored
0x14 int32 00 00 00 00 0 ignored
0x18 int32 01 00 00 00 1 ignored
Plane

It appears that the plane is ignored by the engine. In particular if a side has adjacencies then it has ghost quads and any quad has an associated plane. Sometimes the ghost quads are inside the BNV (instead of being on the edge) and in that case the quad plane is different from the side plane.

AKAA range
These 2 fields make up a range of "adjacencies" (see AKAA). If the fields are equal then the range is empty.


ONI BINARY DATA
AKAA << Other file types >> AKBP
AKBA : Side Array
Level file