OBD:OTIT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=OTIT | prev=OSBD | next=OTLF | name=Oct Tree Interior Node Array | family=Level | align=center}} | |||
[[image: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 | unused }} | |||
{{OBDtr| 0x1C | int32 |00FFFF| 6E 0A 00 00 | 2670 | array size }} | |||
{{OBDtrBK}} | |||
{{OBDtr| 0x00 | int32hb |FFC8C8| 01 00 00 00 | 1 | negative x, negative y, negative z child index }} | |||
{{OBDtr| 0x04 | int32hb |FFFFC8| 30 00 00 00 | 48 | positive x, negative y, negative z child index }} | |||
{{OBDtr| 0x08 | int32hb |C8FFC8| 52 01 00 00 | 338 | negative x, positive y, negative z child index }} | |||
{{OBDtr| 0x0C | int32hb |C8FFFF| 93 01 00 00 | 403 | positive x, positive y, negative z child index }} | |||
{{OBDtr| 0x10 | int32hb |FFC8FF| A8 06 00 00 | 1704 | negative x, negative y, positive z child index }} | |||
{{OBDtr| 0x14 | int32hb |FFC800| DC 06 00 00 | 1756 | positive x, negative y, positive z child index }} | |||
{{OBDtr| 0x18 | int32hb |C800C8| F2 07 00 00 | 2034 | negative x, positive y, positive z child index }} | |||
{{OBDtr| 0x1C | int32hb |C87C64| 42 08 00 00 | 2114 | positive x, positive y, positive z child index }} | |||
|} | |||
;Child index | ;Child index | ||
Line 70: | Line 28: | ||
;Example | ;Example | ||
:In the above interior node all children are other interior nodes, there are no leafs in this interior node. | :In the above interior node all children are other interior nodes, there are no leafs in this interior node. | ||
{{OBD_File_Footer | type=OTIT | prev=OSBD | next=OTLF | name=Oct Tree Interior Node Array | family=Level}} | |||
{{OBD}} |
Latest revision as of 00:20, 18 July 2010
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 44 02 00 | 580 | 00580-.OTIT |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | char[20] | AD DE | dead | unused |
0x1C | int32 | 6E 0A 00 00 | 2670 | array size |
First element (black outline) | ||||
0x00 | int32hb | 01 00 00 00 | 1 | negative x, negative y, negative z child index |
0x04 | int32hb | 30 00 00 00 | 48 | positive x, negative y, negative z child index |
0x08 | int32hb | 52 01 00 00 | 338 | negative x, positive y, negative z child index |
0x0C | int32hb | 93 01 00 00 | 403 | positive x, positive y, negative z child index |
0x10 | int32hb | A8 06 00 00 | 1704 | negative x, negative y, positive z child index |
0x14 | int32hb | DC 06 00 00 | 1756 | positive x, negative y, positive z child index |
0x18 | int32hb | F2 07 00 00 | 2034 | negative x, positive y, positive z child index |
0x1C | int32hb | 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.
ONI BINARY DATA |
---|
OSBD << Other file types >> OTLF |
OTIT : Oct Tree Interior Node Array |
Level file |