Jump to content

OBD:TRTA: Difference between revisions

786 bytes removed ,  16 July 2007
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> TRTA
{{OBD_File_Header | type=TRTA | prev=TRSC | next=TSFF | name=Totoro Quaternion Body Translation Array | family=Character | align=center}}


----


<CENTER>[[OBD:TRSC|TRSC]] << [[OBD:File types|Other file types]] >> [[OBD:TSFF|TSFF]]
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/trta_a.gif
<br><FONT SIZE=5>TRTA : Totoro Quaternion Body Translation 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 62 04 00 | 1122 | 01122-.TRTA }}
{{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 }}
{{OBDtrBK|First bone offset (black outline)}}
{{OBDtr| 0x00 | float    |FFC8C8| 00 00 00 00 | 0 | x-offset of bone (pelvis) with respect to parent }}
{{OBDtr| 0x04 | float    |FFFFC8| 00 00 00 00 | 0 | y-offset of bone (pelvis) with respect to parent }}
{{OBDtr| 0x08 | float    |C8FFC8| 00 00 00 00 | 0 | z-offset of bone (pelvis) with respect to parent }}
|}


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/trta_a.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 62 04 00
| 1122
| ALIGN=LEFT | 01122-.TRTA
|- 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 bone offsets in array (first bone offset is outlined in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Structure of a bone offset (example : pelvis)</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00 00 00
| 0
| ALIGN=LEFT | x-offset of bone (pelvis) with respect to parent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | y-offset of bone (pelvis) with respect to parent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 00 00
| 0
| ALIGN=LEFT | z-offset of bone (pelvis) with respect to parent
|}
;Skeleton
;Skeleton
:The hierarchy of the bones (parents, children, siblings) is defined in the [[OBD:TRIA|TRIA]] file (linked to from the same [[OBD:TRCM|TRCM]] file as the TRTA).
:The hierarchy of the bones (parents, children, siblings) is defined in the [[OBD:TRIA|TRIA]] file (linked to from the same [[OBD:TRCM|TRCM]] file as the TRTA).
Line 67: Line 41:
:So X/Y offsets of shoulders and thighs can basically be set to zero, as well as Y/Z offsets of all the other bones.
:So X/Y offsets of shoulders and thighs can basically be set to zero, as well as Y/Z offsets of all the other bones.
:A skeleton is primarily defined by the Z offsets of shoulders and thighs (broad/narrow shoulders and hips), and by the X offset (effectively, the length) of all the other bones.
:A skeleton is primarily defined by the Z offsets of shoulders and thighs (broad/narrow shoulders and hips), and by the X offset (effectively, the length) of all the other bones.
<HR>
<CENTER>[[OBD:TRSC|TRSC]] << '''TRTA''' >> [[OBD:TSFF|TSFF]]</CENTER>
<HR>


----


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File types]] >> TRTA
{{OBD_File_Footer | type=TRTA | prev=TRSC | next=TSFF | name=Totoro Quaternion Body Translation Array | family=Character}}
708

edits