ANIM (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
→Bone Channel Descriptor
>Aruki |
>Aruki |
||
Line 375: | Line 375: | ||
!Name | !Name | ||
!Notes | !Notes | ||
!MP1 | |||
!MP2 | |||
|- | |- | ||
|0x0 | |0x0 | ||
Line 380: | Line 382: | ||
|'''Bone ID''' | |'''Bone ID''' | ||
|''Bone ID'' in the associated [[CINF (File Format)|CINF]] for this bone channel | |''Bone ID'' in the associated [[CINF (File Format)|CINF]] for this bone channel | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x4 | |0x4 | ||
Line 385: | Line 389: | ||
|'''Rotation Key Count''' | |'''Rotation Key Count''' | ||
|Number of rotation keys in the bitstream for this bone channel. | |Number of rotation keys in the bitstream for this bone channel. | ||
''' | '''In MP2, if this value is 0, the remaining Rotation fields aren't present''' | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x6 | |0x6 | ||
Line 391: | Line 397: | ||
|'''Initial Rotation X''' | |'''Initial Rotation X''' | ||
|Initial X value of bone's rotation vector | |Initial X value of bone's rotation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x8 | |0x8 | ||
Line 396: | Line 404: | ||
|'''Rotation Bits X''' | |'''Rotation Bits X''' | ||
|Number of bits allocated to bone's rotation delta X in bitstream | |Number of bits allocated to bone's rotation delta X in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x9 | |0x9 | ||
Line 401: | Line 411: | ||
|'''Initial Rotation Y''' | |'''Initial Rotation Y''' | ||
|Initial Y value of bone's rotation vector | |Initial Y value of bone's rotation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0xB | |0xB | ||
Line 406: | Line 418: | ||
|'''Rotation Bits Y''' | |'''Rotation Bits Y''' | ||
|Number of bits allocated to bone's rotation delta Y in bitstream | |Number of bits allocated to bone's rotation delta Y in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0xC | |0xC | ||
Line 411: | Line 425: | ||
|'''Initial Rotation Z''' | |'''Initial Rotation Z''' | ||
|Initial Z value of bone's rotation vector | |Initial Z value of bone's rotation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0xE | |0xE | ||
Line 416: | Line 432: | ||
|'''Rotation Bits Z''' | |'''Rotation Bits Z''' | ||
|Number of bits allocated to bone's rotation delta Z in bitstream | |Number of bits allocated to bone's rotation delta Z in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0xF | |0xF | ||
Line 422: | Line 440: | ||
|If this bone channel has an animated translation, its value will match ''Rotation Key Count''; otherwise the value will be 0. | |If this bone channel has an animated translation, its value will match ''Rotation Key Count''; otherwise the value will be 0. | ||
'''If the value is 0, the remaining Translation fields aren't present''' | '''If the value is 0, the remaining Translation fields aren't present''' | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x11 | |0x11 | ||
Line 427: | Line 447: | ||
|'''Initial Translation X''' | |'''Initial Translation X''' | ||
|Initial X value of bone's translation vector | |Initial X value of bone's translation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x13 | |0x13 | ||
Line 432: | Line 454: | ||
|'''Translation Bits X''' | |'''Translation Bits X''' | ||
|Number of bits allocated to bone's translation delta X in bitstream | |Number of bits allocated to bone's translation delta X in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x14 | |0x14 | ||
Line 437: | Line 461: | ||
|'''Initial Translation Y''' | |'''Initial Translation Y''' | ||
|Initial Y value of bone's translation vector | |Initial Y value of bone's translation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x16 | |0x16 | ||
Line 442: | Line 468: | ||
|'''Translation Bits Y''' | |'''Translation Bits Y''' | ||
|Number of bits allocated to bone's translation delta Y in bitstream | |Number of bits allocated to bone's translation delta Y in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x17 | |0x17 | ||
|s16 | |s16 | ||
|'''Translation | |'''Initial Translation Z''' | ||
|Initial Z value of bone's translation vector | |Initial Z value of bone's translation vector | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
|0x19 | |0x19 | ||
Line 452: | Line 482: | ||
|'''Translation Bits Z''' | |'''Translation Bits Z''' | ||
|Number of bits allocated to bone's translation delta Z in bitstream | |Number of bits allocated to bone's translation delta Z in bitstream | ||
|{{check}} | |||
|{{check}} | |||
|- | |- | ||
| 0x1A | |0x1A | ||
|u16 | |||
|'''Scale Key Count''' | |||
|If this bone channel has an animated scale, its value will match ''Scale Key Count''; otherwise the value will be 0. | |||
'''If the value is 0, the remaining Scale fields aren't present''' | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x1C | |||
|s16 | |||
|'''Initial Scale X''' | |||
|Initial X value of bone's scale vector | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x1E | |||
|u8 | |||
|'''Scale Bits X''' | |||
|Number of bits allocated to bone's scale delta X in bitstream | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x1F | |||
|s16 | |||
|'''Initial Scale Y''' | |||
|Initial Y value of bone's scale vector | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x21 | |||
|u8 | |||
|'''Scale Bits Y''' | |||
|Number of bits allocated to bone's scale delta Y in bitstream | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x22 | |||
|s16 | |||
|'''Initial Scale Z''' | |||
|Initial Z value of bone's scale vector | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x24 | |||
|u8 | |||
|'''Scale Bits Z''' | |||
|Number of bits allocated to bone's scale delta Z in bitstream | |||
|{{nocheck}} | |||
|{{check}} | |||
|- | |||
|0x25 | |||
|colspan=3 {{unknown|End of descriptor}} | |colspan=3 {{unknown|End of descriptor}} | ||
|} | |} |