powroupi / blender_mmd_tools

mmd_tools is a blender addon for importing Models and Motions of MikuMikuDance.
GNU General Public License v3.0
1.73k stars 278 forks source link

How to export obj file as a pmx file #376

Open tyIabanks opened 2 years ago

tyIabanks commented 2 years ago

The plugin will not let me export my object as a PMX file (It is grayed out). Is there a way to export the object as a pmx?

nathanvasil commented 2 years ago

It's probably not set up as an MMD model (.pmx need a bit of extra information, although it can be filled out with boilerplate.)

General technique for exporting anything as a .pmx: 1) Add a new MMD model to the scene (shift a ->armature->create MMD model.) This creates an armature object parented to an empty; the structure contains that boilerplate. 2) In 3D viewport, select the mesh object, shift select the armature, parent with empty groups (ctrl-p->armature deform/empty groups.) After that, you should be able to export the structure as a .pmx file. Note that all you may have is the barebone mesh; you won't have weights, you won't have materials set up, your object info will all be boilerplate, and you certainly won't have physics.