OBD:QTNA: Difference between revisions
m (design) |
m (...) |
||
(One intermediate revision by one other user not shown) | |||
Line 9: | Line 9: | ||
{{OBDtr| 0x00 | res_id |FF0000| 01 46 02 00 | 582 | 00582-.QTNA }} | {{OBDtr| 0x00 | res_id |FF0000| 01 46 02 00 | 582 | 00582-.QTNA }} | ||
{{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | ||
{{OBDtr| 0x08 | char[20] |00FF00| AD DE | dead | | {{OBDtr| 0x08 | char[20] |00FF00| AD DE | dead | padding }} | ||
{{OBDtr| 0x1C | | {{OBDtr| 0x1C | uint32 |00FFFF| C1 1D 00 00 | 7617 | array size }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr| 0x00 | | {{OBDtr| 0x00 | uint32hb |FFC8C8| 3A 09 00 80 | 2362, high bit | negative u, negative v child index }} | ||
{{OBDtr| 0x04 | | {{OBDtr| 0x04 | uint32hb |FFFFC8| 3B 09 00 80 | 2363, high bit | positive u, negative v child index }} | ||
{{OBDtr| 0x08 | | {{OBDtr| 0x08 | uint32hb |C8FFC8| 01 00 00 00 | 1 | negative u, positive v child index }} | ||
{{OBDtr| 0x0C | | {{OBDtr| 0x0C | uint32hb |C8FFFF| 54 09 00 80 | 2388, high bit | positive u, positive v child index }} | ||
|} | |} | ||
Line 30: | Line 30: | ||
{{OBD_File_Footer | type=QTNA | prev=PSUI | next=SNDD | name=Quad Tree Node Array | family=Level}} | {{OBD_File_Footer | type=QTNA | prev=PSUI | next=SNDD | name=Quad Tree Node Array | family=Level}} | ||
{{OBD}} |
Latest revision as of 19:13, 12 May 2025
|
![]() |
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 46 02 00 | 582 | 00582-.QTNA |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | char[20] | AD DE | dead | padding |
0x1C | uint32 | C1 1D 00 00 | 7617 | array size |
First element (black outline) | ||||
0x00 | uint32hb | 3A 09 00 80 | 2362, high bit | negative u, negative v child index |
0x04 | uint32hb | 3B 09 00 80 | 2363, high bit | positive u, negative v child index |
0x08 | uint32hb | 01 00 00 00 | 1 | negative u, positive v child index |
0x0C | uint32hb | 54 09 00 80 | 2388, high bit | positive u, positive v child index |
- Child index
- If the high bit is not set then the child index is the index of another quadtree node (into the same array). Otherwise it is the index of an OTLF entry.
- U and V meaning
- X aligned node - U = Y, V = Z
- Y aligned node - U = X, V = Z
- Z aligned node - U = X, V = Y
- Note
- The alignment of a node depends on the leaf face that referenced it because there is no orientation information in a quadttree node.
ONI BINARY DATA |
---|
PSUI << Other file types >> SNDD |
QTNA : Quad Tree Node Array |
Level file |