This article mainly describes the specific steps to convert pmx format files into fbx files through blender in Windows10 environment
This paper mainly includes the following three parts:
1. Download and install blender
1. Download blender to your computer. Download Blender on your computer. It is
recommended to download version 2.83. If you repair the model after version 3.0, you will lose materials
. 2. After downloading, double-click to open the installation file. Can
Second, the cats plug-in installation
1. cats plugin download
To convert pmx to fbx format, we need to install a plugin named cats
Gitee acceleration address.
The downloaded plugin is a compressed file named cats-blender-plugin-master , as shown in the figure below, we Need to remember the path to this file
2. Open blender, you can switch to the Chinese version (any)
3. Click Edit → Preferences
4. Click Plugin → Install
5. Select the cats-blender-plugin-master compressed file you just downloaded, and click Install Plugin
6. After the installation is complete, pay attention to check 3D View: Cats Blender Plugin, if it is not checked, the plug-in is disabled
7. At this point we can see the CATS plugin in the sidebar of the editing area
3. Convert pmx format to fbx format
1. Click Import Model
2. Find the pmx file that needs to be converted, select it and click Import Any Model
. At this time, the imported model does not contain materials, as shown in the following figure:
3. Click Miscellaneous → Shadeless , and then we can see The material has been repaired (cartoon material)
Click to close the bone view on the right, you can make it not displayed, as shown in the following figure:
At the same time, we can see that the node names of the model are not named according to the English name of the Unity bone mapping
4. Click The Fix Model in the CATS plug-in can automatically repair the naming
(Fix Model will also help us delete redundant and useless bones, merge the nodes using the same texture into a Mesh and rename it to Body, etc.)
After the repair is completed, it is as shown in the figure below Display:
Note:
In this step, the missing material shown in the figure below is due to the version problem of blender (caused by version 3.0), which is also the reason for installing version 2.83 at the beginning.
5. Click Export Model
6. Select OK After the file is saved and named, click Export FBX
in the lower right corner 7. You can see the generated fbx file
in the file save path and open it in unity as shown below:
The above are the specific steps of pmx to fbx