8,452
edits
Paradox-01 (talk | contribs) m (*.dae files are influenced by FPS, *.exp are not) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 279: | Line 279: | ||
===Animating=== | ===Animating=== | ||
[[Image:Scale_animations_in_Mod_Tool_Animation_Editor_DopeSheet.png|thumb|200px|right|an animation that got scaled down from 116 to 58 frames]] | |||
* preparing ModTool to save animations Oni can use: File > Preferences... > Preferences > Tools > Output Format | * preparing ModTool to save animations Oni can use: File > Preferences... > Preferences > Tools > Output Format | ||
** Frame Step: 1 | ** Frame Step: 1 | ||
** Frame Format: Custom framerate | ** Frame Format: Custom framerate | ||
** Frame Rate: 60 | ** '''Frame Rate: 60''' | ||
* for real-time playback click on "Playback" option button and then "Real-Time Playback" | * for real-time playback click on "Playback" option button and then "Real-Time Playback" | ||
* opening the Animation Editor : [0] | * opening the Animation Editor : [0] | ||
* opening the DopeSheet: from any other Animation Editor, Editor > DopeSheet | * opening the DopeSheet: from any other Animation Editor, Editor > DopeSheet | ||
* making an animation shorter or longer: in DopeSheet click Region button (arrow with rectangle), click and hold to select keyframes, at selection edge a) [shift] plus left-click and move mouse or b) middle-click and move mouse | * '''making an animation shorter or longer:''' in DopeSheet click Region button (arrow with rectangle), click and hold to select keyframes, at selection edge a) [shift] plus left-click and move mouse or b) middle-click and move mouse | ||
====Issues when saving and sharing data files (*.dae, *.exp)==== | ====Issues when saving and sharing data files (*.dae, *.exp)==== | ||
That what you currently see in Mod Tool and that what you get when saving data be different. | That what you currently see in Mod Tool and that what you get when saving data can be different. | ||
1) *.dae files might save data differently than expected. | |||
''Rotation flips'' might appear. | |||
2) *.exp and *.dae save data differently. | |||
*.exp files store the frames as they are | *.exp files store the frames as they are. | ||
*.dae file store their actions (rotations/translation/...) in seconds and eventually depend on what framerate a Modder uses. | *.dae file store their actions (rotations/translation/...) in seconds and eventually depend on what framerate a Modder uses. | ||
'''Following scenario: a modder wants to share an animation as *.exp and another modder wants to use that animation.''' | |||
Modder A uses 30 fps in his settings and exports an *.exp that is 58 frame long. | |||
Modder B uses 60 fps in his setting and imports the *.exp, to his surprise the animation is 116 frames long. What now? | |||
If Modder B saves the *.exp under a new name would not help, the frames will be still the same. | |||
Instead Modder B could scale the animation. The way to do so is described in the [[#Animating|Animating]] section, "making an animation shorter or longer". | |||
Modder B scales the animation and saves it as dae. | |||
Now he wants to see if it worked. He opens a new scene [Strg]+[N] and loads the dae. | |||
'''Summary of issue-holding aspects''' | |||
* '''Frames Per Second (FPS) | * '''Frames Per Second (FPS)''' | ||
When you share *.dae files with other Modders be sure that the output formate is 60 fps. Different framerates among modders can cause confusion. | When you share *.dae files with other Modders be sure that the output formate is 60 fps. Different framerates among modders can cause confusion. | ||
Line 312: | Line 335: | ||
action at [s] * framerate [f/s] = frame [f] | action at [s] * framerate [f/s] = frame [f] | ||
In this example the last rotation occurs at 1.935267s. | |||
: Modder A uses 30 fps, his last frame is 58. | : Modder A uses 30 fps, his last frame is 58. | ||
Line 318: | Line 341: | ||
* '''Euler rotations | * '''Euler rotations''' | ||
you will get [[wikipedia:Bézier_curve|BEZIER]] (cubic) interpolation instead of LINEAR if you use | you will get [[wikipedia:Bézier_curve|BEZIER]] (cubic) interpolation instead of LINEAR if you use | ||
Line 329: | Line 352: | ||
* '''Quaternion rotations | * '''Quaternion rotations''' | ||
Don't use this. | Don't use this. | ||
Line 336: | Line 359: | ||
* '''Make Rotation Keys Continuous | * '''Make Rotation Keys Continuous''' | ||
[...] | [...] |
edits