OBD:OTIT: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
| BGCOLOR="#FFC8C8" | 01 00 00 00
| BGCOLOR="#FFC8C8" | 01 00 00 00
| 1
| 1
| ALIGN=LEFT | unknown
| ALIGN=LEFT | negative x, negative y, negative z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 30 00 00 00
| BGCOLOR="#FFFFC8" | 30 00 00 00
| 48
| 48
| ALIGN=LEFT | unknown
| ALIGN=LEFT | positive x, negative y, negative z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 52 01 00 00
| BGCOLOR="#C8FFC8" | 52 01 00 00
| 338
| 338
| ALIGN=LEFT | unknown
| ALIGN=LEFT | negative x, positive y, negative z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 93 01 00 00
| BGCOLOR="#C8FFFF" | 93 01 00 00
| 403
| 403
| ALIGN=LEFT | unknown
| ALIGN=LEFT | positive x, positive y, negative z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | A8 06 00 00
| BGCOLOR="#FFC8FF" | A8 06 00 00
| 1704
| 1704
| ALIGN=LEFT | unknown
| ALIGN=LEFT | negative x, negative y, positive z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | DC 06 00 00
| BGCOLOR="#FFC800" | DC 06 00 00
| 1756
| 1756
| ALIGN=LEFT | unknown
| ALIGN=LEFT | positive x, negative y, positive z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | F2 07 00 00
| BGCOLOR="#C800C8" | F2 07 00 00
| 2034
| 2034
| ALIGN=LEFT | unknown
| ALIGN=LEFT | negative x, positive y, positive z child index
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 42 08 00 00
| BGCOLOR="#C87C64" | 42 08 00 00
| 2114
| 2114
| ALIGN=LEFT | unknown
| ALIGN=LEFT | positive x, positive y, positive z child index
|}
|}


 
;Child index
:If the child index does not have its high bit set then it is the index of another octtree interior node (in the same array). Otherwise it is the index of an octtree leaf (from [[OBD:OTLF|OTLF]])
;Example
:In the above interior node all children are other interior nodes, there are no leafs in this interior node.
<HR>
<HR>
<CENTER>[[OBD:OSBD|<==]] <B>OTIT File</B> [[OBD:OTLF|==>]]</CENTER>
<CENTER>[[OBD:OSBD|<==]] <B>OTIT File</B> [[OBD:OTLF|==>]]</CENTER>

Revision as of 19:08, 13 March 2007

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


<== OTIT File ==>
Oct Tree Interior Node Array - Level File


otit_a.gif


Hex Translation Meaning
01 44 02 00 580 00580-.OTIT
01 00 00 06 3 level 3
AD DE dead not used
6E 0A 00 00 2670 2670 packages follow (one package is edged in black)
Below follows the first package.
01 00 00 00 1 negative x, negative y, negative z child index
30 00 00 00 48 positive x, negative y, negative z child index
52 01 00 00 338 negative x, positive y, negative z child index
93 01 00 00 403 positive x, positive y, negative z child index
A8 06 00 00 1704 negative x, negative y, positive z child index
DC 06 00 00 1756 positive x, negative y, positive z child index
F2 07 00 00 2034 negative x, positive y, positive z child index
42 08 00 00 2114 positive x, positive y, positive z child index
Child index
If the child index does not have its high bit set then it is the index of another octtree interior node (in the same array). Otherwise it is the index of an octtree leaf (from OTLF)
Example
In the above interior node all children are other interior nodes, there are no leafs in this interior node.

<== OTIT File ==>


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