Search the Community
Showing results for tags 'motion capture'.
-
Here's a .blend file with a Darkmod NPC rig: https://drive.google.com/file/d/1-odjc8A54ED5qgO7pA01Nr59U2_2jFmL/view?usp=sharing set up to be used with this motion capture animation pack https://www.rokoko.com/mocap/free-mocap-assets It's a stripped down version of this Blender rig. Exporting works the same way. For retargeting you'll need to install this addon: https://github.com/Mwni/blender-animation-retargeting It works in Blender 3.6 as well as 4.5. Animation playback of longer files is waaay faster in 4.5 but the drawback is that md5 file exporter won't work with anything newer than 3.6. This pack contains different skeleton standards. This setup was made for Mixamo which seems to be majority of files. Import .fbx file with scale 48, manual orientation: x forward to match the Darkmod skeleton. When selected, keyframes of the imported animation will be displayed. Select armature_control. In the retargeting addon tab (in right panel), in 'Source' box choose the imported skeleton name. Load config file: Darkmod_male_NPC_mocap_Mixamo.blend-retarget This should pair up both skeletons. First frame in animations is a t-pose. Proper animation starts at frame 2. Typically animations start offset from the center. You can move the character to the center at the start of the animation simply by dragging armature_control object. Similarly, character model may be slightly below ground level. Move armature_control up to adjust. Origin bone in tdm_ai_proguard has constraints to follow the pelvis. Otherwise it would stay in center. Here's what happens when origin bone stays in the same place. This is idle animation playing: And here's what happens when origin bone follows the character: I found that in order to match imported skeletons I had to bend darkmod skeleton forward a little bit. That pose is saved as "tpose_mixamo" single frame animation. I don't guarantee that this is the best way you can do it. Perhaps skeletons could be matched in a more ideal way. Remember that there are bones for clothing in Darkmod, that aren't in the motion capture files and need to be animated by hand :)