OBD:TRCM: Difference between revisions

330 bytes removed ,  18 July 2010
m
no edit summary
No edit summary
mNo edit summary
 
(9 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]] >> TRCM File
{{OBD_File_Header | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character | align=center}}




<CENTER>[[OBD:TRBS|<==]] <FONT SIZE=5>TRCM File</FONT> [[OBD:TRGA|==>]]<BR>
[[image:trcm_all.gif]]
<FONT SIZE=2>Totoro Quaternion Body - Character File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/trcm_all.gif
{{Table}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | res_id  |FF0000| 01 0A 04 00 | 1034  | 01034-.TRCM }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3    | level 3 }}
{{OBDtr| 0x08 | int32    |FFC8C8| 00 00 00 00 | 0    | unused, 0 for most TRCM files, "dead" for the rest }}
{{OBDtr| 0x0C | int16    |FFFFC8| 13 00      | 19    | 19 bodyparts }}
{{OBDtr| 0x0E | dead    |FFFFC8| AD DE      | dead  | unused }}
{{OBDtr2|0x10 | char[64] |C8FFC8| Kon002_xlow.mme    | internal name of this file }}
{{OBDtr| 0x50 | int32    |C8FFFF| 40 A3 9D 0E | 0x0E9DA340 | unused, overwritten at runtime }}
{{OBDtr| 0x54 | int32    |C8FFFF| C0 A3 9D 0E | 0x0E9DA3C0 | unused, overwritten at runtime }}
{{OBDtr| 0x58 | int32    |C8FFFF| E0 A4 9D 0E | 0x0E9DA4E0 | unused, overwritten at runtime }}
{{OBDtr| 0x5C | int32    |FFC8FF| 01 0B 04 00 | 1035 | link to 01035-.[[OBD:TRGA|TRGA]] }}
{{OBDtr| 0x60 | int32    |FFC8FF| 01 62 04 00 | 1122 | link to 01122-.[[OBD:TRTA|TRTA]] }}
{{OBDtr| 0x64 | int32    |FFC8FF| 01 63 04 00 | 1123 | link to 01123-.[[OBD:TRIA|TRIA]] }}
{{OBDtr| 0x68 | char[24] |FFC800| AD DE      | dead | unused }}
|}


There are 19 bones per human body.


{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
The index array specifies the hierarchy of the bones (basically a generic tree).
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
 
| WIDTH=15% | <B>Hex</B>
The translation array specifies the translation of every bone with respect to its parent.
| WIDTH=15% | <B>Translation</B>
:Every translation is specified in the respective parent's local frame of coordinates.
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 0A 04 00
| 1034
| ALIGN=LEFT | 01034-.TRCM
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 13 00
| 19
| ALIGN=LEFT | 19 bodyparts
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" COLSPAN=2 | <TT>Kon002_xlow.mme</TT>
| ALIGN=LEFT | internal name of this file
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 40 A3 9D 0E
| 3.886069e-30
| ALIGN=LEFT | not used, overwritten at runtime
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | C0 A3 9D 0E
| 3.886117e-30
| ALIGN=LEFT | not used, overwritten at runtime
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | E0 A4 9D 0E
| 3.886226e-30
| ALIGN=LEFT | not used, overwritten at runtime
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 0B 04 00
| 1035
| ALIGN=LEFT | link to 01035-.[[OBD:TRGA|TRGA]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 62 04 00
| 1122
| ALIGN=LEFT | link to 01122-.[[OBD:TRTA|TRTA]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 01 63 04 00
| 1123
| ALIGN=LEFT | link to 01123-.[[OBD:TRIA|TRIA]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | AD DE
| dead
| ALIGN=LEFT | not used
|}


Rotations are also specified in the local frame of every bone's respective parent.
:The rotation is either a quaternion or a triplet of heading/pitch/banking angles.
::In the latter case, "heading" is around x, "pitch" about y, and "banking" about z.


<HR>
<CENTER>[[OBD:TRBS|<==]] <B>TRCM File</B> [[OBD:TRGA|==>]]</CENTER>
<HR>


{{OBD_File_Footer | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character}}


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