Boost Blender: Integrate MMD Tools Easily
Are you a Blender user eager to incorporate the powerful Motion Capture tools of MMD into your workflow? You're in luck! While Blender and MMD are separate software, they can be combined to create stunning animations. Here's a step-by-step guide on how to add MMD tools to Blender, streamlining your 3D animation process.
Before we dive in, ensure you have both Blender and MMD installed on your system. This guide assumes you're using Blender 2.8 or later and MMD 9.32 or later. Also, have your MMD motion data (.pmd files) ready for import.
Preparing MMD Data for Blender
Before importing your MMD motion data into Blender, you'll need to prepare your .pmd files. This involves extracting the motion data and converting it into a format Blender can understand.
For this, you can use an external tool like pmd2blend, a Python script that converts MMD PMD files into a Blender-friendly format. You can find it on GitHub: https://github.com/inanus/pmd2blend
Installing pmd2blend
To install pmd2blend, download the zip file from the GitHub repository, extract it, and place the pmd2blend.py script in your Blender scripts directory. The default path is:
/path/to/your/blender/(version)/scripts/
Using pmd2blend
Once installed, you can run pmd2blend from the Blender scripting menu (Edit > Specials > pmd2blend). Select your .pmd file, choose the options that suit your project (e.g., blending type, start/end frame), and click 'Convert'.
Importing MMD Motion Data into Blender
Now that you've converted your MMD motion data, it's time to import it into Blender.
Create a new Blender project, then go to the File > Import > Motion menu. Select the .blend or .json file generated by pmd2blend and click 'Import'. Blender will import the motion data, creating an Armature and Action for your character.
Adjusting the Armature
MMD uses a specific bone structure, so you'll need to adjust your Blender Armature to match. For this, you can use the ArmaUtils addon. Go to the Edit > Preferences > Add-ons menu, search for 'ArmaUtils' in the list, and enable it.
Mapping Bones
With ArmaUtils, you can map MMD bones to Blender's bone structure. Select your imported Armature, then go to the Armature > ArmaUtils > AutoMMD Bones menu. This will automatically map your MMD bones to Blender's armature.
Applying the Motion Data to Your Model
Now that you've imported and prepared your MMD motion data, it's time to apply it to your 3D model in Blender.
Select your model and your Armature, then go to the Object > Animation > With Animation menu. This will assign the imported Action to your model, applying the MMD motion to it.
Adjusting the Action
If needed, you can further adjust the Action in the Dope Sheet or Movie Clip Editor to fine-tune the animation. You can extend, loop, or modify frames to fit your project's needs.
Rendering Your Animation
With your model now animated using the MMD motion data, you're ready to render your masterpiece! Set up your Camera, Lights, and other rendering options, then hit the render button ( Ctrl + F12 ) to generate your final animation.
Congratulations! You've just added MMD tools to your Blender workflow. Now, go create some amazing animations!