This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
banjo_kazooie:animations [2024/11/26 14:54] BanjoFreak64 [Transform Structure] |
banjo_kazooie:animations [2024/11/26 16:27] (current) BanjoFreak64 [Transform Structure] |
||
---|---|---|---|
Line 1: | Line 1: | ||
======== Animation Data ======== | ======== Animation Data ======== | ||
- | Banjo-Kazooie uses animation files comprised of a list of Internal Bone IDs, their transformation type (scale, rotate or translate), and across which frames of an animation these transformations occur. Animation indices can be found by searching the [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:rom_map | Rom Map]]. | + | Banjo-Kazooie uses animation files comprised of a list of [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:model_data#animation_setup:~:text=ii%20ii%5D-,Internal%20Bone%20ID,-0x000E|Internal Bone IDs]], their transformation type (scale, rotate or translate), and across which frames of an animation these transformations occur. Animation indices can be found in the [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:rom_map | Rom Map]]. |
Line 44: | Line 44: | ||
| Z Translation | 8 | | | Z Translation | 8 | | ||
===== Transform Structure ===== | ===== Transform Structure ===== | ||
- | The transform structure details the frames in which a transformation of the bone occurs (i.e. translate, rotate, or scale) and by how much the bone moves between frames with respect to the scale of the model (transform factor).Transform structure is repeated for instances [<color #5724ff>cc cc</color>] before introducing the next element header where [<color #5724ff>cc cc</color>] = [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:animations#element_header:~:text=0x0004-,%5Bcc%20cc%5D,-Data%20Count|Data Count]]. The first two bytes of data contain two bits representing unknown values and fourteen bits which determine the frame of a transformation. | + | The transform structure details the frames in which a transformation of the bone occurs and by how much the bone moves between frames with respect to the scale of the model (transform factor). Transform structure is repeated for instances [<color #5724ff>cc cc</color>] before introducing the next element header where [<color #5724ff>cc cc</color>] = [[https://hack64.net/wiki/doku.php?id=banjo_kazooie:animations#element_header:~:text=0x0004-,%5Bcc%20cc%5D,-Data%20Count|Data Count]]. The first two bytes of data contain two bits representing unknown values and fourteen bits which determine the frame of a transformation. |
*Bitwise Parameters: | *Bitwise Parameters: |