Creating an animation rig in Blender: Difference between revisions

m
these should be intrawiki links
m (these should be intrawiki links)
Line 74: Line 74:
# Create three new collections in the Outliner, name them ''T-pose'', ''Pose 1'' and ''Pose 2''. These three collections allow you to quickly hide the respective models from the Viewport using the eye icon in the Outliner.
# Create three new collections in the Outliner, name them ''T-pose'', ''Pose 1'' and ''Pose 2''. These three collections allow you to quickly hide the respective models from the Viewport using the eye icon in the Outliner.
## Move the T-Posed model to ''T-pose'', and move ''.001'' and ''.002'' animated models to ''Pose 1'' and ''Pose 2'' collections respectively.
## Move the T-Posed model to ''T-pose'', and move ''.001'' and ''.002'' animated models to ''Pose 1'' and ''Pose 2'' collections respectively.
# If you've imported the textured model, [https://wiki.oni2.net/Creating_an_animation_rig_in_Blender#Broken_alpha_transparency_and_textures_on_animated_models apply textures to the animated models and fix the alpha transparency issue.]
# If you've imported the textured model, [[#Broken_alpha_transparency_and_textures_on_animated_models|apply textures to the animated models and fix the alpha transparency issue.]]
# At this point, your scene should look as shown in the screenshot on the right.
# At this point, your scene should look as shown in the screenshot on the right.
# You can hide the Pose 1 and Pose 2 collections - they won't be needed until later in the tutorial.
# You can hide the Pose 1 and Pose 2 collections - they won't be needed until later in the tutorial.


==Adjusting T-posed model's Z location==
==Adjusting T-posed model's Z location==
At this moment the T-posed model is sunk to the ground. That's because the pelvis location is set to 0,0,0. All of the animations in Oni have their heights adjusted [https://wiki.oni2.net/XML:TRAM#List_of_tags.2C_types.2C_and_flags (through the <Height> tags)] so that the pelvis is roughly at Z ~ 0.9, so that the characters appear standing on the floor instead of, again, sinking into it. For this reason, we want to adjust the position of the pelvis so that the feet soles are aligned with the floor.
At this moment the T-posed model is sunk to the ground. That's because the pelvis location is set to 0,0,0. All of the animations in Oni have their heights adjusted [[XML:TRAM#List_of_tags.2C_types.2C_and_flags|(through the <Height> tags)]] so that the pelvis is roughly at Z ~ 0.9, so that the characters appear standing on the floor instead of, again, sinking into it. For this reason, we want to adjust the position of the pelvis so that the feet soles are aligned with the floor.


[[Image:PelvisZLocation.png|400px|right|thumb|Expected result by the end of this header]]
[[Image:PelvisZLocation.png|400px|right|thumb|Expected result by the end of this header]]