OBD:OTIT: Difference between revisions

367 bytes removed ,  12 May 2025
m
...
No edit summary
 
m (...)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> OTIT File
{{OBD_File_Header | type=OTIT | prev=OSBD | next=OTLF | name=Oct Tree Interior Node Array | family=Level | align=center}}




<CENTER>[[OBD:OSBD|<==]] <FONT SIZE=5>OTIT File</FONT> [[OBD:OTLF|==>]]<BR>
[[image:otit_a.gif]]
<FONT SIZE=2>Oct Tree Interior Node Array - Level File</FONT></CENTER>




http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/otit_a.gif
{{Table}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | res_id  |FF0000| 01 44 02 00 | 580  | 00580-.OTIT }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr| 0x08 | char[20] |00FF00| AD DE      | dead | padding }}
{{OBDtr| 0x1C | uint32    |00FFFF| 6E 0A 00 00 | 2670 | array size }}
{{OBDtrBK}}
{{OBDtr| 0x00 | uint32hb  |FFC8C8| 01 00 00 00 | 1    | negative x, negative y, negative z child index }}
{{OBDtr| 0x04 | uint32hb  |FFFFC8| 30 00 00 00 | 48  | positive x, negative y, negative z child index }}
{{OBDtr| 0x08 | uint32hb  |C8FFC8| 52 01 00 00 | 338  | negative x, positive y, negative z child index }}
{{OBDtr| 0x0C | uint32hb  |C8FFFF| 93 01 00 00 | 403  | positive x, positive y, negative z child index }}
{{OBDtr| 0x10 | uint32hb  |FFC8FF| A8 06 00 00 | 1704 | negative x, negative y, positive z child index }}
{{OBDtr| 0x14 | uint32hb  |FFC800| DC 06 00 00 | 1756 | positive x, negative y, positive z child index }}
{{OBDtr| 0x18 | uint32hb  |C800C8| F2 07 00 00 | 2034 | negative x, positive y, positive z child index }}
{{OBDtr| 0x1C | uint32hb  |C87C64| 42 08 00 00 | 2114 | positive x, positive y, positive z child index }}
|}




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
;Child index
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
: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]])
| WIDTH=15% | <B>Hex</B>
;Example
| WIDTH=15% | <B>Translation</B>
:In the above interior node all children are other interior nodes, there are no leafs in this interior node.
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 44 02 00
| 580
| ALIGN=LEFT | 00580-.OTIT
|- 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" | 6E 0A 00 00
| 2670
| ALIGN=LEFT | 2670 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" | 01 00 00 00
| 1
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 30 00 00 00
| 48
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 52 01 00 00
| 338
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 93 01 00 00
| 403
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | A8 06 00 00
| 1704
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | DC 06 00 00
| 1756
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | F2 07 00 00
| 2034
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | 42 08 00 00
| 2114
| ALIGN=LEFT | unknown
|}
 


<HR>
<CENTER>[[OBD:OSBD|<==]] <B>OTIT File</B> [[OBD:OTLF|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=OTIT | prev=OSBD | next=OTLF | name=Oct Tree Interior Node Array | family=Level}}


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> OTIT File
{{OBD}}
281

edits