rig.md 2.29 KB
Newer Older
1
2
---
layout: default
allai5's avatar
allai5 committed
3
4
5
title: "Rig"
permalink: /guide/rigging_mode/
parent: User Guide
6
7
8
9
---

# Rig

Vidya Narayanan's avatar
Vidya Narayanan committed
10
### Rigging Setup
11

Vidya Narayanan's avatar
Vidya Narayanan committed
12
13
14
15
16
Select the `Rig` tab to create a skeletal rig for an object.

You can create new bone by first selecting a parent joint and pressing `New Bone`, then click anywhere else on the object to place the bone. From thereon, you can repeat this process to create a chain of bones connected along the selected joint.
If you want to branch off at a joint, simply click on the joint to branch off of, then start another chain by adding a new bone from there.

Hui Wang's avatar
Hui Wang committed
17
<video src="rigging_mode/guide-rigging-1.mov" controls preload muted loop style="max-width: 100%; margin: 0 auto;"></video>
Vidya Narayanan's avatar
Vidya Narayanan committed
18
19

To view a rigged example, see `media/human.dae` example and select the object in the Rig tab to view its joints.
Vidya Narayanan's avatar
typo    
Vidya Narayanan committed
20
Once you've implemented forward kinematics the skeleton should be setup like so:
Vidya Narayanan's avatar
Vidya Narayanan committed
21

Hui Wang's avatar
Hui Wang committed
22
![rigged-human](rigging_mode/guide-rigging-human.png)
23
24
25
26
27



### Editing Skinning Weight Threshold Radius

Vidya Narayanan's avatar
Vidya Narayanan committed
28
29
Each joint has an associated `Radius`  which controls the part of the mesh influenced by the selected bone during animaton. The radius is visualized by the blue capsule around each bone and can be edited using the menu. The position of the joint can also be edited using the `Extent` values in the menu.

Hui Wang's avatar
Hui Wang committed
30
<video src="rigging_mode/guide-rigging-2.mov" controls preload muted loop style="max-width: 100%; margin: 0 auto;"></video>
Vidya Narayanan's avatar
Vidya Narayanan committed
31

Hui Wang's avatar
Hui Wang committed
32
Note that rigging only uses extents of the bone for skeleton setup, joint pose does not influence the skeleton. Once rigging is done, the object can be posed by changing joint rotations in the [animate](animate) mode.
33

34
35

## Inverse Kinematics
allai5's avatar
allai5 committed
36
Instead of computing the positions of the bones from the joint poses (forward kinematics), in inverse kinematics, joint positions are computed from target positions.
37
38
To associate a target position with a joint, select `Add IK` and edit the target position. Multiple target positions can be associated with the same joint but targets need to be explicitly enabled using the checkbox.

Hui Wang's avatar
Hui Wang committed
39
In the [animate](animate) mode, once inverse kinematics is implemented, joint rotation(pose) is updated based on the enabled IK handles.
40

Hui Wang's avatar
Hui Wang committed
41
<video src="rigging_mode/guide-ik.mp4" controls preload muted loop style="max-width: 100%; margin: 0 auto;"></video>
42

43
44
45