OBD:QTNA

From OniGalore
Revision as of 19:21, 13 March 2007 by Neo (talk | contribs)
Jump to navigation Jump to search

Main Page >> Oni Binary Data >> File Types >> QTNA File


<== QTNA File ==>
Quad Tree Node Array - Level File


qtna_a.gif


Hex Translation Meaning
01 46 02 00 582 00582-.QTNA
01 00 00 06 3 level 3
AD DE dead not used
C1 1D 00 00 7617 7617 packages follow (one package is edged in black)
Below follows the first package.
3A 09 00 80 2362, high bit negative u, negative v child index
3B 09 00 80 2363, high bit positive u, negative v child index
01 00 00 00 1 negative u, positive v child index
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.

<== QTNA File ==>


Main Page >> Oni Binary Data >> File Types >> QTNA File