how to import pmx into blender

How to Import PMX into Blender

By Sarah Robinson
AD

Are you a 3D artist or modeler seeking to integrate a PMX file, a popular format foreseen withistro Titus1's MikuMikuDance, into your Blender workflow? You're in the right place. This guide will walk you through the process of importing PMX files into Blender, allowing you to leverage both software platforms' strengths in your creative pipeline.

First things first, you need to ensure that your PMX file is compatible with Blender. The file format is proprietary to MikuMikuDance, but thanks to community-developed plugins like PMX Importer for Blender, you can work with these files in Blender.

Preparing Your PMX File for Import

Before importing, it's crucial to prepare your PMX file to ensure a smooth import process. This typically involves organizing your materials and textures.

AD
Create Blocky 3D Models for 3D Printing Using Blender
Create Blocky 3D Models for 3D Printing Using Blender
Create/Export .x files in Blender 3 using PMXE (Blender 2.8+) - LearnMMD
Create/Export .x files in Blender 3 using PMXE (Blender 2.8+) - LearnMMD
How to Use ACTIONS & RE-USE Keyframes in Future Projects - Blender Tutorial
How to Use ACTIONS & RE-USE Keyframes in Future Projects - Blender Tutorial

PMX files can have multiple materials, each with its own texture. Ensure that these materials and textures are correctly renamed and organized in a hierarchical folder structure. This will make mapping them in Blender much easier. Additionally, ensure all textures are in a format compatible with Blender, such as PNG or JPG.

Understanding PMX Materials and Textures

PMX materials are defined by their diffuse, specular, and other map files. These maps determine the appearance of the model. For a smooth import, ensure all required maps are present and correctly named. For example, a diffuse map should be named with '_diffuse' in its filename.

Blender can import PMX textures, but it's recommended to use theoblast to convert them to a format compatible with Blender. This ensures a clean import and avoids any potential texture issues.

Preparing Bone Structures

PMX files can have complex bone structures, often inherited from MikuMikuDance rigging. Before importing, review your bone structure to ensure it's well-organized and follows a logical hierarchy. This will make rigging in Blender more manageable.

AD

Remove any unneeded bones or rename them for clarity. Also, ensure that the root bone is named 'ROOT' as Blenderexpects. This will help in auto-matching bones during import.

Importing PMX Files into Blender

Once your PMX file and its associated resources are prepared, you can import it into Blender using the PMX Importer add-on.

To activate the PMX Importer, go to 'Edit' > 'Preferences', then 'Add-ons'. Search for 'PMX Importer', enable it, and click 'Save Preferences'. The add-on will now be available in the 'Import' menu.

AD

Using the PMX Importer Script

To import your PMX file, go to 'File' > 'Import' > 'PMX (.pmx)'. Navigate to your PMX file, select it, and click 'Import PMX'. The PMX Importer script will execute, importing your model and its materials.

Blender might load the model in Object Mode, with all its components as separate objects. Use 'Armature' to select the model, then 'Object Data' to select its materials. Assign these materials to your model in the 'Shading' workspace.

Checking and Fixing Bone Assignments

After import, ensure that all bones are correctly mapped to their respective vertices. Any unmapped vertices can be manually assigned using 'Weight Paint' mode. Fixing bone assignments ensures proper deformation of the model in animation.

AD

Finally, save your .blend file to ensure your work is preserved. With the PMX model imported and set up correctly, you're ready to start animating or modifying it in Blender.

Blender's powerful tools combined with the versatility of PMX files open up a world of possibilities in 3D art and modeling. Keep experimenting, refining your skills, and exploring new plugins and add-ons to enhance your Blender experience!

AD