1---2name: rigging3description: Rigging fundamentals, skeleton setup, and animation controls4---5
6# Rigging
7
8## Skeleton and Joint Hierarchy
9
10### Joint Placement
11- **Anatomical Accuracy**: Place joints following anatomical structure
12- **Deformation Considerations**: Position joints for optimal deformation
13- **Joint Orientation**: Orient joints for proper rotation axes
14- **Joint Hierarchy**: Create logical parent-child relationships
15- **Naming Conventions**: Use consistent, descriptive joint names
16- **Scale and Proportions**: Maintain proper scale and proportions
17
18### Joint Types
19- **Ball Joints**: 3 degrees of freedom (shoulder, hip)
20- **Hinge Joints**: 1 degree of freedom (elbow, knee)
21- **Universal Joints**: 2 degrees of freedom (wrist, ankle)
22- **Root Joint**: Base of the skeleton hierarchy
23- **End Joints**: End of joint chains (fingertips, toes)
24
25### Joint Hierarchy
26- **Root**: Top of the hierarchy (hips, pelvis)
27- **Spine**: Spine joints from pelvis to neck
28- **Limbs**: Arms and legs with shoulder/elbow/hand and hip/knee/foot
29- **Head**: Head and facial joints
30- **Fingers**: Finger joints for detailed hand animation
31- **Toes**: Toe joints for detailed foot animation
32
33## IK and FK Controls
34
35### Inverse Kinematics (IK)
36- **IK Solvers**: Calculate joint positions from end effector
37- **IK Handles**: Controls for IK chains
38- **Pole Vectors**: Control IK chain orientation
39- **IK/FK Blending**: Switch between IK and FK
40- **IK Constraints**: Limit IK movement
41- **IK Applications**: Legs, arms, spine, fingers
42
43### Forward Kinematics (FK)
44- **FK Controls**: Rotate joints directly
45- **FK Chains**: Parent-child joint relationships
46- **FK Applications**: Spine, fingers, toes, tail
47- **FK Advantages**: Intuitive, predictable, easy to animate
48- **FK Disadvantages**: Time-consuming for complex poses
49
50### IK/FK Switching
51- **Blend Controls**: Switch between IK and FK
52- **Match IK to FK**: Match IK pose to FK pose
53- **Match FK to IK**: Match FK pose to IK pose
54- **Seamless Transitions**: Smooth switching between modes
55- **Animation Considerations**: Plan IK/FK usage in animation
56
57## Facial Rigging and Blendshapes
58
59### Blendshapes
60- **Shape Keys**: Create facial expressions
61- **Expression Targets**: Create expression targets for blendshapes
62- **Phonemes**: Create phoneme targets for lip sync
63- **Eye Shapes**: Create eye shape targets
64- **Brow Shapes**: Create brow expression targets
65- **Mouth Shapes**: Create mouth expression targets
66
67### Facial Rigging Techniques
68- **Joint-Based**: Use joints for facial animation
69- **Blendshape-Based**: Use blendshapes for facial animation
70- **Hybrid**: Combine joints and blendshapes
71- **Morph Targets**: Alternative to blendshapes
72- **Bone-Driven**: Use bones to drive blendshapes
73
74### Eye Rigging
75- **Eye Joints**: Create joints for eye movement
76- **Eye Controls**: Create controls for eye direction
77- **Eyelid Rigging**: Create controls for eyelid movement
78- **Pupil Rigging**: Create controls for pupil dilation
79- **Eye Constraints**: Limit eye movement to natural range
80
81## Constraint Systems
82
83### Constraint Types
84- **Parent Constraint**: Constrain object to follow parent
85- **Orient Constraint**: Constrain object orientation to target
86- **Point Constraint**: Constrain object position to target
87- **Aim Constraint**: Constrain object to aim at target
88- **Scale Constraint**: Constrain object scale to target
89- **Geometry Constraint**: Constrain object to follow geometry
90
91### Constraint Applications
92- **IK Controls**: Use constraints for IK controls
93- **FK Controls**: Use constraints for FK controls
94- **Space Switching**: Switch between different spaces
95- **Follow Through**: Use constraints for follow-through animation
96- **Secondary Motion**: Use constraints for secondary motion
97
98### Constraint Best Practices
99- **Constraint Order**: Order constraints for predictable results
100- **Constraint Weighting**: Use constraint weights for blending
101- **Constraint Limits**: Limit constraint influence
102- **Constraint Performance**: Optimize constraints for performance
103- **Constraint Cleanup**: Remove unnecessary constraints
104
105## Weight Painting Techniques
106
107### Weight Painting Basics
108- **Vertex Groups**: Assign vertices to bone groups
109- **Weight Values**: Assign weight values (0-1) to vertices
110- **Weight Influence**: Control bone influence on vertices
111- **Weight Normalization**: Normalize weights for predictable results
112- **Weight Smoothing**: Smooth weights for natural deformation
113- **Weight Mirroring**: Mirror weights across symmetry
114
115### Weight Painting Tools
116- **Weight Brush**: Paint weights directly on mesh
117- **Smooth Brush**: Smooth weights for natural deformation
118- **Blur Brush**: Blur weights for smooth transitions
119- **Add Brush**: Add weight to vertices
120- **Subtract Brush**: Subtract weight from vertices
121- **Normalize**: Normalize weights for predictable results
122
123### Weight Painting Best Practices
124- **Joint Areas**: Concentrate weight around joints
125- **Deformation Paths**: Follow natural deformation paths
126- **Weight Distribution**: Distribute weight evenly
127- **Weight Limits**: Limit weight to appropriate areas
128- **Weight Testing**: Test weights with animation
129
130## Rig Optimization for Real-Time
131
132### Optimization Techniques
133- **Reduce Bone Count**: Remove unnecessary bones
134- **Simplify Constraints**: Simplify constraint systems
135- **Optimize Weights**: Optimize weight painting
136- **Use IK/FK Efficiently**: Don't overuse IK
137- **Reduce Control Count**: Reduce control complexity
138- **Optimize Hierarchy**: Optimize joint hierarchy
139
140### Real-Time Considerations
141- **Frame Rate**: Maintain target frame rate
142- **Memory Usage**: Minimize rig memory
143- **CPU Usage**: Reduce rig CPU cost
144- **GPU Usage**: Minimize rig GPU impact
145- **Network**: Reduce network bandwidth for multiplayer
146
147### Platform-Specific Optimization
148- **Mobile**: Lower bone count, simpler rigs
149- **Console**: Medium optimization, balance quality and performance
150- **PC**: Higher quality, more complex rigs
151- **VR**: High frame rate priority, reduced complexity
152- **AR**: Real-time performance priority
153
154## Rig Export and Integration
155
156### Export Formats
157- **FBX**: Most common format, supports rigging
158- **Maya ASCII/Binary**: Maya native format
159- **Blender**: Blender native format
160- **Collada (DAE)**: Open standard format
161- **glTF/GLB**: Web-ready format
162
163### Export Settings
164- **Bake Animation**: Bake all constraints and IK to FK
165- **Include Skeleton**: Include skeleton in export
166- **Include Blendshapes**: Include blendshapes in export
167- **Root Motion**: Include or exclude root motion
168- **Animation Takes**: Export specific animation takes
169
170### Integration
171- **Unity**: Import FBX, configure Avatar, set up Animator Controller
172- **Unreal**: Import FBX, configure Skeleton, set up Animation Blueprint
173- **Godot**: Import glTF/FBX, configure Skeleton, set up AnimationPlayer
174- **Web**: Use Three.js or Babylon.js with glTF rigging
175- **Custom**: Parse rig data and apply to custom systems