powroupi / blender_mmd_tools

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

motion vmds not doing anything #344

Closed shamshitty closed 2 years ago

shamshitty commented 3 years ago

so i got this addon earlier today and it's been working absolutely fine, apart from there's this one file which when imported does nothing. i don't know if this is on the addon's side or the file's side but another .vmd file works with no problems so I don't really know.

the file that works is a camera movement file while the other (that doesn't work) i assume is an armature movement file. don't really know what's going on.

powroupi commented 3 years ago

That's it.

Hogarth-MMD commented 3 years ago

The instructions given by @powroupi should work. If not, the bone names in the .vmd file probably don't match the bone names of the model.

To see the bone names in a .vmd file, you can use this free utility: VMDConverterGraphical (converts VMD files to CSV text files and CSV text files to VMD files) https://bowlroll.net/file/13705

To list the bone names of a model in Blender, select the armature object and type this line of code into the Blender python console, then press Enter:

bpy.context.active_object.data.bones.keys()

Also you can see the bone names of an MMD model in PMD/PMX editor.

shamshitty commented 3 years ago

what if the model i have isn't mmd? I'm assuming it won't work then since it's not mmd and I'm trying to import a vmd.

Hogarth-MMD commented 3 years ago

If you can succeed to import a .vmd animation onto a model which is not an MMD model, this event will be new information for everyone, and you will be the first person who has succeeded in this accomplishment.