19,587
edits
m (→Investigation) |
m (link fix) |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=TRIA | prev=TRGE | next=TRIG | name=Totoro Quaternion Body Index Array | family=Character | align=center}} | |||
[[image:tria_a.gif]] | |||
{{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| 0x1E | int16 |00FFFF| 13 00 | 19 | array size }} | |||
{{OBDtrBK}} | |||
{{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 | char[1] |C8FFFF| DE | dead | unused }} | |||
|} | |||
;Parent bone ID | ;Parent bone ID | ||
:Oni doesn't seem to | :Oni doesn't seem to parse it : the direct links (child + sibling) are enough to define the bone hierarchy. | ||
;Child bone ID | ;Child bone ID | ||
: | :There is no child (null child) for e.g. head, feet, fists. Multiple children are specified ''via'' the sibling link. | ||
;Sibling bone ID | ;Sibling bone ID | ||
:"left leg" links to "right leg", which links to "mid" : they are all children of "pelvis" | :"left leg" links to "right leg", which links to "mid" : they are all children of "pelvis" | ||
:"head" links to "left shoulder", which links to "right shoulder" : they are all children of "neck" | :"head" links to "left shoulder", which links to "right shoulder" : they are all children of "neck" | ||
==Bones== | ==Bones== | ||
[[Image:konoko_bodyparts.png|right|konoko's bodyparts]] | |||
{| | {| | ||
|+Bone | |+Bone ID overview | ||
!HEX | !HEX | ||
!DEC | !DEC | ||
!Bone | !Bone | ||
|- | |- | ||
|00||00||pelvis/none | |00||00||pelvis/none | ||
Line 103: | Line 75: | ||
|} | |} | ||
(Thanks to ZDLO) (and not only him) | (Thanks to ZDLO) (and not only him) | ||
;Note | ;Note | ||
:"arm" is also sometimes referred to as "bicep" | :"arm" is also sometimes referred to as "bicep" | ||
:(although correct spelling is | :(although correct spelling is [[wp:Biceps|biceps]], that's a muscle) | ||
==Investigation== | ==Investigation== | ||
There are 2 different TRIA files in Oni. This one, used by most TRCM : | There are 2 different TRIA files in Oni. This one, used by most [[OBD:TRCM|TRCM]] : | ||
{|border=1 cellspacing=0 | {|border=1 cellspacing=0 | ||
!Bone | !Bone | ||
Line 151: | Line 125: | ||
- 15 - 16 - 17 - 18 - X | - 15 - 16 - 17 - 18 - X | ||
(neglecting the fact that parent links are null for the upper part of the body). | (neglecting the fact that parent links are null for the upper part of the body). | ||
It would look like '''chest''' is directly parented by the ''root'' bone, but then it's not a sibling of ''pelvis'' | It would look like '''chest''' is directly parented by the ''root'' bone, but then it's not a sibling of ''pelvis''... so it's completely loose. | ||
The associated [[OBD:TRTA|TRTA]] is also weird. | The associated [[OBD:TRTA|TRTA]] is also weird. | ||
The only difference between the extra-low-LOD and the | *The only difference between the extra-low-LOD and the normal-LOD TRTA of male scientists is the offset of '''chest'''. | ||
*In the normal-LOD TRTA, the offset is (1.4, 0, 0), whereas in the extra-low-LOD TRTA, it is (0, 0, 13.5). | |||
In the normal-LOD TRTA, the offset is (1.4, 0, 0), whereas in the extra-low-LOD TRTA, it is (0, 0, 13.5). This again seems to indicate that '''chest''' is parented by the ''root'' bone. | *This again seems to indicate that '''chest''' is parented by the ''root'' bone if at all... | ||
;And indeed... | ;And indeed... | ||
:If you specify e.g. Kerr's [[OBD:TRBS|TRBS]] to use nothing but the extra-low-LOD [[OBD:TRCM|TRCM]] | :If you specify e.g. Kerr's [[OBD:TRBS|TRBS]] to use nothing but the extra-low-LOD [[OBD:TRCM|TRCM]] | ||
:(and its TRTA and TRIA, which is the whole point), you'll see ''weird'' stuff. | :(and its TRTA and TRIA, which is the whole point), you'll see ''weird'' stuff. | ||
:(Kerr's upper body floating around, control limited to Kerr's legs and the weapon, if any) | :(Kerr's inane upper body floating around, control limited to Kerr's legs and the weapon, if any) | ||
;Conclusion | ;Conclusion | ||
:Generally speaking, the TRTA and TRIA of low-LOD TRCM are ignored. | :Generally speaking, the TRTA and TRIA of low-LOD TRCM are ignored. | ||
: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) | ||
---- | |||
{{OBD_File_Footer | type=TRIA | prev=TRGE | next=TRIG | name=Totoro Quaternion Body Index Array | family=Character}} | |||
{{OBD}} |