animate.md 2.26 KB
Newer Older
1
2
3
---
layout: default
title: "Animate"
allai5's avatar
allai5 committed
4
5
permalink: /guide/animate_mode/
parent: User Guide
6
7
8
---

# Animate
allai5's avatar
allai5 committed
9

10
When you select the Animate tab, a timeline window will show up at the bottom of your screen.
Vidya Narayanan's avatar
Vidya Narayanan committed
11
Animation is performed by creating **keyframes** and **interpolating** between them.
12
13

### Keyframes
allai5's avatar
allai5 committed
14
15
A keyframe associates an object's pose and properties with a specific frame in the timeline.
Keyframes can be associated with all objects (including the camera and individual joints associated with an object) in the scene.
16
17
18
19

To create a keyframe for an object:

- Select a frame location along that objects timeline by clicking on the timeline. Remember to do this *before* editing the pose.
allai5's avatar
allai5 committed
20
- Change the pose or properties of the selected object and press `Set`. To set a keyframe for every object in the scene, use `Set All`. Note that only the poses (rotations) of joints can be animated, not their extents.
21

allai5's avatar
allai5 committed
22
To remove a keyframe in the timeline, click on it and press `Clear` to remove it. Press `Clear All` to clear the current keyframe of every object in the scene.
23

Hui Wang's avatar
Hui Wang committed
24
![animating-cow](../animation/task1_media/animate_cow.gif)
25
26
27
28

To see your animation, press `Play [space]` . Once you've implemented **spline interpolation**,  intermediate frames are generated by interpolating object poses between keyframes.

Check `Draw Splines` to visualize the spline along which objects are animated.
Vidya Narayanan's avatar
Vidya Narayanan committed
29

Hui Wang's avatar
Hui Wang committed
30
![view-spline](animate_mode/guide-animate-spline.png)
31
32
33

`Add Frames` inserts 90 empty frames into the timeline. `Crop End` deletes frames from the selected location to the end of the timeline.

34
### Posing
Hui Wang's avatar
Hui Wang committed
35
Once you have [rigged](rig) an object with a skeleton, it can now be posed by selecting a joint and changing its pose i.e., rotating the joint. This is called Forward Kinematics.
allai5's avatar
allai5 committed
36
37
Joint poses can also be indirectly changed by using the IK (Inverse Kinematics) handles to provide target positions.
Note that IK handles need to be explicitly enabled using the checkbox.
38

allai5's avatar
allai5 committed
39
Once you've implemented **forward kinematics**, **inverse kinematics** and **skinning**, as you change the pose, the mesh will deform.
Vidya Narayanan's avatar
Vidya Narayanan committed
40
41
Different poses can be set as keyframes to animate the object.

allai5's avatar
allai5 committed
42
<video src="{{ site.baseurl }}/guide/animate_mode/guide-posing-rig.mp4" controls preload muted loop style="max-width: 100%; margin: 0 auto;"></video>
43