| 
				 | 
				
| Line 1: | 
Line 1: | 
 | [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> TRIA
  |  | {{OBD_File_Header | type=TRIA | prev=TRGE | next=TRIG | name=Totoro Quaternion Body Index Array | family=Character | align=center}}  | 
 | 
  |  | 
  | 
 |  | ----  | 
 | 
  |  | 
  | 
 | <CENTER>[[OBD:TRGE|TRGE]] << [[OBD:File types|Other file types]] >> [[OBD:TRIG|TRIG]]
  |  | http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tria_a.gif  | 
 | <br><FONT SIZE=5>TRIA : Totoro Quaternion Body Index Array</FONT>
  |  | 
 | <BR><FONT SIZE=2>[[OBD:File types/Character|Character file]]</FONT></CENTER>
  |  | 
 | 
  |  | 
  | 
 |  | {{Table}}  | 
 |  | {{OBD_Table_Header}}  | 
 |  | |- ALIGN=CENTER VALIGN=TOP  | 
 |  | {{OBDtr| 0x00 | res_id   |FF0000| 01 63 04 00 | 1123  | 01123-.TRIA }}  | 
 |  | {{OBDtr| 0x04 | lev_id   |FFFF00| 01 00 00 06 | 3     | level 3 }}  | 
 |  | {{OBDtr| 0x08 | char[22] |00FF00| AD DE...    | dead  | unused }}  | 
 |  | {{OBDtr| 0x0e | int16    |00FFFF| 13 00       | 19    | array size }}  | 
 |  | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"  | 
 |  | | COLSPAN=5 | <FONT SIZE=2 COLOR="#FFFFFF">First element (black outline)</FONT>  | 
 |  | {{OBDtr| 0x00 | int8     |FFC8C8| 00 | 0      | parent bone ID : none }}  | 
 |  | {{OBDtr| 0x01 | int8     |FFFFC8| 01 | 1      | child bone ID : left thigh }}  | 
 |  | {{OBDtr| 0x02 | int8     |C8FFC8| 00 | 0      | sibling bone ID : none }}  | 
 |  | {{OBDtr| 0x03 | int8     |C8FFFF| DE | dead   | unused }}  | 
 |  | |}  | 
 | 
  |  | 
  | 
 | http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tria_all.gif
  |  | ----  | 
 |    |  | 
 | 
  |  | 
  | 
 | {| 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 63 04 00
  |  | 
 | | 1123
  |  | 
 | | ALIGN=LEFT | 01123-.TRIA
  |  | 
 | |- 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" | 13 00
  |  | 
 | | 19
  |  | 
 | | ALIGN=LEFT | 19 bones in skeleton (first bone's data outlined in black)
  |  | 
 | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
  |  | 
 | | COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Bone data structure (example : pelvis)</FONT>
  |  | 
 | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
  |  | 
 | | BGCOLOR="#FFC8C8" | 00
  |  | 
 | | 0
  |  | 
 | | ALIGN=LEFT | parent bone ID : none
  |  | 
 | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
  |  | 
 | | BGCOLOR="#FFFFC8" | 01
  |  | 
 | | 1
  |  | 
 | | ALIGN=LEFT | child bone ID : left thigh
  |  | 
 | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
  |  | 
 | | BGCOLOR="#C8FFC8" | 00
  |  | 
 | | 0
  |  | 
 | | ALIGN=LEFT | sibling bone ID : none
  |  | 
 | |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
  |  | 
 | | BGCOLOR="#C8FFFF" | DE
  |  | 
 | | dead
  |  | 
 | | ALIGN=LEFT | not used
  |  | 
 | |}
  |  | 
 | ;Parent bone ID  |  | ;Parent bone ID  | 
 | :Oni doesn't seem to parse it : the direct links (child + sibling) are enough to define the bone hierarchy.  |  | :Oni doesn't seem to parse it : the direct links (child + sibling) are enough to define the bone hierarchy.  | 
| Line 166: | 
Line 138: | 
 | :Any body in the TRBS uses the TRTA and TRIA of the extra-high-LOD TRCM  |  | :Any body in the TRBS uses the TRTA and TRIA of the extra-high-LOD TRCM  | 
 | :(i.e. the TRCM linked to at 0x18 in the TRBS)  |  | :(i.e. the TRCM linked to at 0x18 in the TRBS)  | 
 | <HR>
  |  | 
 | <CENTER>[[OBD:TRGE|TRGE]] << '''TRIA''' >> [[OBD:TRIG|TRIG]]</CENTER>
  |  | 
 | <HR>
  |  | 
 | 
  |  | 
  | 
 | [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> TRIA
  |  | ----  | 
 |  |    | 
 |  | {{OBD_File_Footer | type=TRIA | prev=TRGE | next=TRIG | name=Totoro Quaternion Body Index Array | family=Character}}  |