MotionBuilder Python: How to T-Pose and Characterize Your Character in Seconds
Автор: mocappys
Загружено: 2021-04-13
Просмотров: 8004
Описание:
Before we can start applying all that lovely motion capture we got from our Xsens MVN mocap system to our characters, we’re going to need to put them in a T-Pose and Characterize them...I know, I know…ANOTHER tutorial on how to T-Pose and Characterize a character in MotionBuilder,
BUT WAIT, this one’s different…
What if you’re working on a project with multiple characters and tight deadlines (and let's be honest, on those kind of projects, you’re probably going to be doing this more than once) then you're going to want a way to do this automatically...
...And this is exactly where python scrips come in.
So in this video I'll show you how to write a script that will T-Pose your character using IK, create a character, complete the character mapping and characterize it automatically.
And even if you're not into python scripting, you can still learn a new way to T-Pose your character using IK Constraints.
Rigging Dojo Quick T-Pose in a hurry: • Rigging Dojo Quick #RigTip - T-Pose in a h...
My MotionBuilder Course: https://academy.mocappys.com/p/how-to...
Table of Contents:
00:00 - Intro
00:55 - Using Skeleton Template XML
01:40 - Import xml.etree.ElementTree
01:57 - Get Skeleton Template Path
03:12 - Convert XML to Dictionary
05:03 - Get Character "Hips"
05:34 - Centre Character in Scene
07:09 - Zero Local Rotation Values
08:16 - T-Pose Character Using IK
08:41 - Get End Joint for IK Chain
09:12 - Get All Joints in Arm
09:41 - Create IK Effector Null
10:00 - Align IK Effector to Hand
10:36 - Create Pole Vector Null
11:03 - Create Chain IK Constraint
12:14 - Populate Chain IK Constraint
13:17 - Snap Chain IK Constraint ON
13:35 - Calculate IK and PV Position
14:39 - Calculate Limb Length
14:53 - Offset IK and PV from Arm Joint
15:52 - Straighten Arm Using Chain IK
16:24 - Refactor Code
16:35 - Add Condition for Left/Right Arm
17:23 - Add Condition for Legs
18:18 - T-Pose Arms and Legs
19:02 - Create Character
19:17 - Complete Character Mapping
20:07 - Characterize Character
20:25 - Make Character Current Character
20:44 - Refactor For Any Character
20:56 - Add Scene Evaluation
21:30 - Delete IK Helpers using Namespace
21:55 - T-Pose and Characterize
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: