Jump to content

OBD:QTNA: Difference between revisions

853 bytes removed ,  12 September 2007
m
design
No edit summary
m (design)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> QTNA File
{{OBD_File_Header | type=QTNA | prev=PSUI | next=SNDD | name=Quad Tree Node Array | family=Level | align=center}}




<CENTER>[[OBD:PSUI|<==]] <FONT SIZE=5>QTNA File</FONT> [[OBD:SNDD|==>]]<BR>
[[image:qtna_a.gif]]
<FONT SIZE=2>Quad Tree Node Array - Level File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/qtna_a.gif
{{Table}}
{{OBDth}}
{{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| 0x08 | char[20] |00FF00| AD DE      | dead          | unused }}
{{OBDtr| 0x1C | int32    |00FFFF| C1 1D 00 00 | 7617          | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | int32hb  |FFC8C8| 3A 09 00 80 | 2362, high bit | negative u, negative v child index }}
{{OBDtr| 0x04 | int32hb  |FFFFC8| 3B 09 00 80 | 2363, high bit | positive u, negative v child index }}
{{OBDtr| 0x08 | int32hb  |C8FFC8| 01 00 00 00 | 1              | negative u, positive v child index }}
{{OBDtr| 0x0C | int32hb  |C8FFFF| 54 09 00 80 | 2388, high bit | positive u, positive v child index }}
|}


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
| WIDTH=15% | <B>Hex</B>
| WIDTH=15% | <B>Translation</B>
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 46 02 00
| 582
| ALIGN=LEFT | 00582-.QTNA
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | C1 1D 00 00
| 7617
| ALIGN=LEFT | 7617 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 3A 09 00 80
| 2362, high bit
| ALIGN=LEFT | negative u, negative v child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 3B 09 00 80
| 2363, high bit
| ALIGN=LEFT | positive u, negative v child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 01 00 00 00
| 1
| ALIGN=LEFT | negative u, positive v child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 54 09 00 80
| 2388, high bit
| ALIGN=LEFT | positive u, positive v child index
|}


;Child index
;Child index
Line 58: Line 27:
:;Note
:;Note
::The alignment of a node depends on the leaf face that referenced it because there is no orientation information in a quadttree node.
::The alignment of a node depends on the leaf face that referenced it because there is no orientation information in a quadttree node.
<HR>
<CENTER>[[OBD:PSUI|<==]] <B>QTNA File</B> [[OBD:SNDD|==>]]</CENTER>
<HR>




[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> QTNA File
{{OBD_File_Footer | type=QTNA | prev=PSUI | next=SNDD | name=Quad Tree Node Array | family=Level}}
1,051

edits