animate.md 2.11 KB
Newer Older
1
2
3
4
5
6
7
8
---
layout: default
title: "Animate"
permalink: /guide/animate/
---

# Animate
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
9
Animation is performed by creating **keyframes** and **interpolating** between them.
10
11
12
13
14
15
16
17
18
19
20
21
22


### Keyframes
A keyframe associates an object's pose with a specific frame in the timeline.
Keyframes can be associated with all the objects (including the camera and rig joints associated with an object) in the scene.

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.
- Change the pose of the selected object and press `Set`. To associate keyframes with all the objects, use `Set All`.  Note that for rig joints, only joint rotation can be performed.
- Click on a keyframe in the timeline, and press `Clear` to remove it. 


Vidya Narayanan's avatar
Vidya Narayanan committed
23
![animating-cow](../animation/task1_media/animate_cow.gif)
24
25
26
27

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
28
29

![view-spline](./animate-mode/guide-animate-spline.png)
30
31
32

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

33
34
35
36
37
38
### Posing
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.
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. 

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
39
40
41
Different poses can be set as keyframes to animate the object.

<video src="{{ site.baseurl }}/guide/animate-mode/guide-posing-rig.mp4" controls preload muted loop style="max-width: 100%; margin: 0 auto;"></video>
42