Maya Spline: Difference between revisions
Jump to navigation
Jump to search
→Format
>Aruki (→Format) |
>Aruki (→Format) |
||
Line 4: | Line 4: | ||
== Format == | == Format == | ||
=== Structure (Metroid Prime 2/3) === | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 45: | Line 47: | ||
| '''Maximum Amplitude''' | | '''Maximum Amplitude''' | ||
| Maximum amplitude used for clamped splines. | | Maximum amplitude used for clamped splines. | ||
|} | |||
=== Structure (Donkey Kong Country Returns) === | |||
Basically the same data as in Prime 2/3, but shifted around slightly. | |||
{| class="wikitable" | |||
! Type | |||
! Count | |||
! Name | |||
! Notes | |||
|- | |||
| u32 | |||
| 1 | |||
| '''Knot Count''' | |||
| Number of knots in the spline. | |||
|- | |||
| [[#Knot|Knot]] | |||
| ''Knot Count'' | |||
| '''Knot Array''' | |||
| Array of knots forming the actual spline. | |||
|- | |||
| float | |||
| 1 | |||
| '''Minimum Amplitude''' | |||
| Minimum amplitude used for clamped splines. | |||
|- | |||
| float | |||
| 1 | |||
| '''Maximum Amplitude''' | |||
| Maximum amplitude used for clamped splines. | |||
|- | |||
| u8 | |||
| 1 | |||
| [[#Infinite Type Enum|'''Pre Infinity''']] | |||
| Infinity setting for time ranges before the start time of the spline curve. | |||
|- | |||
| u8 | |||
| 1 | |||
| [[#Infinity Type Enum|'''Post Infinity''']] | |||
| Infinity setting for time ranges after the end time of the spline curve. | |||
|- | |||
| u8 | |||
| 1 | |||
| [[#Clamp Mode Enum|'''Clamp Mode''']] | |||
| Clamp mode setting. | |||
|} | |} | ||