OBD:TRCM: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character | align=center}} | {{OBD_File_Header | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character | align=center}} | ||
[[image:trcm_all.gif]] | |||
{{Table}} | {{Table}} | ||
Line 13: | Line 13: | ||
{{OBDtr| 0x0C | int16 |FFFFC8| 13 00 | 19 | 19 bodyparts }} | {{OBDtr| 0x0C | int16 |FFFFC8| 13 00 | 19 | 19 bodyparts }} | ||
{{OBDtr| 0x0E | dead |FFFFC8| AD DE | dead | unused }} | {{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| 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| 0x54 | int32 |C8FFFF| C0 A3 9D 0E | 0x0E9DA3C0 | unused, overwritten at runtime }} | ||
Line 20: | Line 20: | ||
{{OBDtr| 0x60 | int32 |FFC8FF| 01 62 04 00 | 1122 | link to 01122-.[[OBD:TRTA|TRTA]] }} | {{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| 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. | |||
The index array specifies the hierarchy of the bones (basically a generic tree). | |||
The translation array specifies the translation of every bone with respect to its parent. | |||
:Every translation is specified in the respective parent's local frame of coordinates. | |||
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. | |||
{{OBD_File_Footer | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character}} | {{OBD_File_Footer | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character}} | ||
{{OBD}} |
Latest revision as of 00:30, 18 July 2010
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 0A 04 00 | 1034 | 01034-.TRCM |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | int32 | 00 00 00 00 | 0 | unused, 0 for most TRCM files, "dead" for the rest |
0x0C | int16 | 13 00 | 19 | 19 bodyparts |
0x0E | dead | AD DE | dead | unused |
0x10 | char[64] | Kon002_xlow.mme | internal name of this file | |
0x50 | int32 | 40 A3 9D 0E | 0x0E9DA340 | unused, overwritten at runtime |
0x54 | int32 | C0 A3 9D 0E | 0x0E9DA3C0 | unused, overwritten at runtime |
0x58 | int32 | E0 A4 9D 0E | 0x0E9DA4E0 | unused, overwritten at runtime |
0x5C | int32 | 01 0B 04 00 | 1035 | link to 01035-.TRGA |
0x60 | int32 | 01 62 04 00 | 1122 | link to 01122-.TRTA |
0x64 | int32 | 01 63 04 00 | 1123 | link to 01123-.TRIA |
0x68 | char[24] | AD DE | dead | unused |
There are 19 bones per human body.
The index array specifies the hierarchy of the bones (basically a generic tree).
The translation array specifies the translation of every bone with respect to its parent.
- Every translation is specified in the respective parent's local frame of coordinates.
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.
ONI BINARY DATA |
---|
TRBS << Other file types >> TRGA |
TRCM : Totoro Quaternion Body |
Character file |