HOME | DD

crazy4anime09 — MMD in Blender Importing Motions Tutorial

#3d #blender #kaito #mmd #tutorial #vocaloid
Published: 2016-12-13 01:41:23 +0000 UTC; Views: 36970; Favourites: 134; Downloads: 276
Redirect to original
Description Read all comments in all the MMD in Blender tutorials I've made to see if your question has been answered before you ask ^^
Also, check out our group There are other MMD in Blender tutorials there as well as art


   I created an updated version of this tutorial and it is broken up into two parts. You can find part 1 here  fav.me/dclo4au and part 2 here fav.me/dcloa6q

I decided to make another MMD in Blender Tutorial and this time I chose to make it on importing motions. It took me a long time to figure out how to get the physics to work so I thought I would make a tutorial about it lol XD

I used Blender 2.77 for this tutorial but this will also work for 2.78 and earlier versions of Blender. This tutorial focuses on how to import MMD motions, how to turn the physics on, and how to add sound. If you have any questions feel free to ask. I'm still new to Blender and I don't know how to do a lot, so I may not know the answer to your question but I'll try to help if I can ^^

Also if anyone knows how to get the rigid body to move with the model to create your own animations in Blender let me know. I want to be able to make my own animations using MMD models ^^

(Edit)
I found a weird fix for it. If you want to make your own animations in Blender the model has to be in T pose for the first keyframe. The model also has to be in the center of the 3D viewport where it imports in. Then afterwards you can move the model around and the rigid body should follow the model without any issues. If you want me to make a tutorial about it let me know ^^

This is where I found out about it blenderartists.org/forum/showt…


Here are my other MMD in Blender tutorials I made
MMD to Blender 2.92 Tutorial (New Version) www.deviantart.com/crazy4anime…
MMD to Blender 2.80 Tutorial (Old Version) fav.me/ddgt81n
MMD to Blender 2.79 Tutorial (Old Version) fav.me/dbvo83i
MMD to Blender Tutorial (Old Version) fav.me/d9anqi0

MMD in Blender 2.82 Posing Tutorial (New Version) fav.me/dduuyu4
MMD in Blender Basic Posing Tutorial (Old Version) fav.me/d9qroj9

MMD in Blender Importing Motions Tutorial Part 1 (New Version) fav.me/dclo4au
MMD in Blender Importing Motions Tutorial Part 2 (New Version) fav.me/dcloa6q



Model used in the tutorial is

Kaito V3 (c) Biyo
Poses from Glide Motion (c) Yurie

Tutorial made by me in Photoshop CS5
Related content
Comments: 69

crazy4anime09 In reply to ??? [2023-08-04 21:45:18 +0000 UTC]

👍: 1 ⏩: 0

RHSC-Productions [2020-06-23 22:32:29 +0000 UTC]

👍: 0 ⏩: 1

RHSC-Productions In reply to RHSC-Productions [2020-06-23 22:56:02 +0000 UTC]

👍: 0 ⏩: 1

crazy4anime09 In reply to RHSC-Productions [2020-06-24 04:53:53 +0000 UTC]

👍: 0 ⏩: 0

mmdlizzy2000 [2020-01-28 20:42:06 +0000 UTC]

How do i import a MMD motion to blender model? (obj)

👍: 0 ⏩: 1

crazy4anime09 In reply to mmdlizzy2000 [2020-01-28 23:09:27 +0000 UTC]

I'm not sure how to do it, but I think you want the rig/armature to be similar to a MMD rig/armature. I couldn't find any info or tutorials for how to do it, but I did find a tutorial for how to convert BVH animations to VMD in Blender  Tutorial: BVH to VMDConverting BVH animations to VMD animations can be a bit complicated, and you will need some patience and perseverance to succeed with it. There are several issues which can give you problems in making this conversion. Here is the information which I have about these problems and how to solve them, followed by step-by-step instructions for converting BVH to VMD:
LIST OF POSSIBLE ISSUES AND THEIR SOLUTIONS:
1. The Blender BVH importer has a bug. If you try to import a BVH file which has Japanese bone names, it won't import into Blender, and you will get an error message. This simple bug fix will work if your BVH file is a unicode utf-8 text file:
Open this file (from the Blender program folder) in a text editor, such as Notepad++:
scripts\addons\io_anim_bvh\import_bvh.py
Change line 97 from:
file = open(file_path, 'rU')
to:
file = open(file_path, 'rU', encoding = 'utf-8')
2. The X,Y,Z axes and + and - directions of bone rotations may not be defined in the same way in a BVH file a It might have some info that could be helpful in figuring out how to get a MMD motion to work on a Blender model ^^

👍: 0 ⏩: 0

AaronAnims [2020-01-17 10:45:22 +0000 UTC]

Most people coming from MMD will need this tutorial. Great!

👍: 0 ⏩: 1

crazy4anime09 In reply to AaronAnims [2020-01-19 00:40:53 +0000 UTC]

Thanks a lot! I'm planning on making an updated tutorial for this at some point ^^

👍: 0 ⏩: 0

zyumiiii [2020-01-03 10:59:39 +0000 UTC]

👍: 0 ⏩: 1

crazy4anime09 In reply to zyumiiii [2020-01-03 20:00:43 +0000 UTC]

I'm glad you found it helpful Did you turn the physics on? If you are using Blender 2.79 you will find the build physics button above the motion import button in the MMD tab on the left side of the viewport. If you are using Blender 2.80/2.81 you will find it above the import button in the MMD tab on the right side of the viewport. If you are using Blender 2.78/2.77 the button is still above the motion import button, but it's called rigidbody. Is this what you mean by the physics being stiff? Or did you already click on the build physics button and the motions still look stiff ^^

👍: 1 ⏩: 1

zyumiiii In reply to crazy4anime09 [2020-01-12 02:14:30 +0000 UTC]

👍: 0 ⏩: 1

crazy4anime09 In reply to zyumiiii [2020-01-12 02:39:05 +0000 UTC]

You're very welcome! ^^

👍: 0 ⏩: 0

themushroomwars [2018-10-12 01:27:44 +0000 UTC]

There's an error when I try to import the motion.

👍: 0 ⏩: 1

crazy4anime09 In reply to themushroomwars [2018-10-12 04:32:30 +0000 UTC]

I don't think I've ever gotten an error with a motion before. What is the error you are getting? ^^

👍: 0 ⏩: 0

crazy4anime09 [2018-08-31 22:59:35 +0000 UTC]

I have updated this tutorial since there have been a lot of changes made to the MMD Tools addon by powroupi since I made this tutorial. The new tutorial is broken up into two parts since I had new info to add. Here are the links to both of them ^^

MMD in Blender 2.79 Importing Motions Tutorial Part 1   and MMD in Blender 2.79 Importing Motions Tutorial Part 2 

👍: 0 ⏩: 0

cutiebxt [2018-08-24 11:31:08 +0000 UTC]

for some reason only the facial animations move and not the body, do you know why that is? thanks!

👍: 0 ⏩: 1

crazy4anime09 In reply to cutiebxt [2018-08-24 18:27:55 +0000 UTC]

Yep I do, you have to select both the armature and the model to import the motion. You only selected the model so the facials only got imported. This tutorial is outdated and the MMD Tools addon has gotten updated a lot since I made this. I am working on an updated version of this tutorial that should be done soon ^^

👍: 0 ⏩: 1

cutiebxt In reply to crazy4anime09 [2018-08-24 18:47:23 +0000 UTC]

oh sweet!! thank you~

👍: 0 ⏩: 1

crazy4anime09 In reply to cutiebxt [2018-08-24 19:03:15 +0000 UTC]

You're very welcome! ^^

👍: 0 ⏩: 0

gallagher101 [2018-01-28 03:48:40 +0000 UTC]

I have a question that I haven't seen any tutorials on yet. Do you know if it's possible to export motions or animations made in blender to a vmd format?

👍: 0 ⏩: 1

crazy4anime09 In reply to gallagher101 [2018-01-28 20:03:17 +0000 UTC]

It should be possible but I'm not sure how well it works. I tried to export an animation I made a while ago to VMD to see if it works but I got a traceback error. I just tried making a quick head turn animation and I was able to export it to VMD. I imported it back into Blender and it seemed to work. To export an animation you have to select all the bones and if you want to export a shape key animation you have to select the model. If you want to export both you can select the bones and model ^^

This is what powroupi wrote about exporting motions. You can find it here as well github.com/powroupi/blender_mm… You'll have to scroll down to find it ^^

Export Motion

Basic support for exporting motions is now available. Currently, it can export bone animation, shape key animation, and camera/lamp animation, but self shadow, and other vmd specific animations are not supported yet. Also keep in mind these notes/issues:

  • Support f-curves only, drivers or NLA tracks are not supported. You may bake the animation to a new action if you want to export a final animation.
  • The interpolations of bone rotation and camera rotation may not look right, since MMD use the same interpolation for all channels of rotation (x, y, z, w).
  • In blender, select root empty object to export model animation (bone and shape key), select armature object to export bone animation only, select mesh object to export shape key animation only, select MMD camera object to export camera animation. And only active object's animation will be exported.
  • Bone names are limited to 15 bytes (about 7 words of unicode character), there is no error message, just remember to keep bone names short.

👍: 0 ⏩: 2

Penny6 In reply to crazy4anime09 [2018-08-24 10:24:38 +0000 UTC]

Thank you^^

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2018-08-24 18:29:07 +0000 UTC]

You're very welcome! ^^

👍: 0 ⏩: 0

gallagher101 In reply to crazy4anime09 [2018-01-29 08:52:12 +0000 UTC]

Thanks for getting back to me! I appreciate it!

I'll make sure to keep all this in mind as I start to get more familiar with blender.

On another note, do you think you'll be updating this tutorial for 2.79 or is it all still basically the same? I've been having issues with it since I upgraded.

👍: 0 ⏩: 1

crazy4anime09 In reply to gallagher101 [2018-01-29 19:09:45 +0000 UTC]

You're very welcome! I am planning on updating it. It's still basically the same but I have noticed that there are a few things that are different now ^^

👍: 0 ⏩: 1

gallagher101 In reply to crazy4anime09 [2018-01-29 20:21:36 +0000 UTC]

The main thing I am running into is when I import the motions to the rig, the legs go all wonky. Like they are going all over the place.

👍: 0 ⏩: 1

crazy4anime09 In reply to gallagher101 [2018-01-29 20:59:52 +0000 UTC]

That's one of the things that have changed. When you search in the File Browser for a motion to import into Blender go to the lower left side. There is a scale that is set to 1.00 by default. Make sure you change it to .20 (The same scale you used when you imported the model in) Then the legs shouldn't freak out anymore ^^

👍: 0 ⏩: 1

gallagher101 In reply to crazy4anime09 [2018-01-29 21:32:53 +0000 UTC]

OMG!!! Thank you soooooo much!!!!! It's working fine now! You are a real life saver!!!!

👍: 0 ⏩: 1

crazy4anime09 In reply to gallagher101 [2018-01-29 21:44:47 +0000 UTC]

You're very welcome! ^^

👍: 0 ⏩: 1

Blubberz In reply to crazy4anime09 [2018-12-05 14:34:41 +0000 UTC]

Almost a year later and this answer was still a massive help to someone like me! crazy4anime09 keep up the good work we appreciate you.

👍: 0 ⏩: 1

crazy4anime09 In reply to Blubberz [2018-12-05 19:15:14 +0000 UTC]

You're very welcome! I am glad to help ^^

👍: 0 ⏩: 0

HyouryuuNa [2017-10-03 12:37:11 +0000 UTC]

How can I export the model along with the animation in .fbx format?

👍: 0 ⏩: 1

crazy4anime09 In reply to HyouryuuNa [2017-10-03 22:12:49 +0000 UTC]

I'm not really sure, but you can try selecting both the model and the armature and then go to export then click on FBX (.fbx) I've never really tried to export a model with an animation before ^^

👍: 0 ⏩: 1

HyouryuuNa In reply to crazy4anime09 [2017-10-04 05:54:42 +0000 UTC]

Oh, ok. I'll try that

👍: 0 ⏩: 1

crazy4anime09 In reply to HyouryuuNa [2017-10-04 22:16:52 +0000 UTC]

Hopefully it works ^^

👍: 0 ⏩: 0

Penny6 [2017-09-04 19:22:34 +0000 UTC]

What version of mmd_tools are you using?

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2017-09-05 00:19:40 +0000 UTC]

In the tutorial I used sugiany's version github.com/sugiany/blender_mmd… and right now I'm currently using powroupi's version github.com/powroupi/blender_mm… I haven't updated to the newest version of it yet tho. The one I'm using I think is several months old ^^

👍: 0 ⏩: 1

Penny6 In reply to crazy4anime09 [2017-09-05 04:34:20 +0000 UTC]

Ok.
When you saying separate the texture, what do you exactly mean by that?

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2017-09-05 05:23:23 +0000 UTC]

There is a button right under the convert materials to cycles button called separate by materials. If you have the model selected and hit the button it will make everything on the model separate like their shirt, pants, hair etc so that you can click on them separately.

When you want all the materials to be together again so you can select the entire model just select everything on the model, and click on the join mesh button below the separate materials button to join them together again. The join mesh button is only in powroupi's version. If you're using sugiany's version you can press the ctrl key with the J key and it will do the same thing ^^

👍: 0 ⏩: 2

Penny6 In reply to crazy4anime09 [2017-09-21 19:59:32 +0000 UTC]

Have you tried to export a model from scratch to pmx/pmd?

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2017-09-21 21:45:28 +0000 UTC]

I have not, I haven't learned how to make models yet ^^

👍: 0 ⏩: 1

Penny6 In reply to crazy4anime09 [2017-09-22 16:39:24 +0000 UTC]

Oh, okey^^

👍: 0 ⏩: 0

Penny6 In reply to crazy4anime09 [2017-09-05 06:29:48 +0000 UTC]

Right.
Do you know if pow's version can handle shortcuts?

I see that I have ver. 0.6.0-something of MMD tool, and I am using blender 2.77.
It should work, right?

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2017-09-05 22:03:26 +0000 UTC]

I think it can, I don't really use shortcuts that much.

It should, if not you could always update it to the newest version of MMD tools ^^

👍: 0 ⏩: 1

Penny6 In reply to crazy4anime09 [2017-09-07 07:25:54 +0000 UTC]

Ok.
Thank you!

👍: 0 ⏩: 1

crazy4anime09 In reply to Penny6 [2017-09-07 22:03:11 +0000 UTC]

You're very welcome! ^^

👍: 0 ⏩: 0

blenderenderer [2017-08-28 14:57:33 +0000 UTC]

I first discovered these tutorials when you mentioned me on the first one. I attempted to help fix some other problems as well and was quite impressed to see how you had attempted to answer all questions already. 

I started reading the tutorial and quickly realized that this was far different from the other tutorials I had visited, far more detailed and easy to follow. I wish there were more tutorials like these when I started using the addon. I will most likely direct people to this tutorial if they have questions about MMD -> Blender in the future. 

Then I got to this tutorial. Got 3/4 of the way down...stopped and stared at the screen for a long time. 

THAT'S how you get the physics to work??? I always thought it had something to do with the cache but could't figure how to update it. Usually rigid bodies update their cache automatically in Blender and thus don't have their own bake button.

I have been animating with mmd models in blender for a long time and helping others with it as well, but could never figure out the physics.

(mind blown)  

No more stiff capes. No more hair intersecting the body mesh. (sobs happily)
If this works, I will finally be able to use mmd_tools to its full extent, and release some decent animations at last.   

Thank you so much!!! 

If you ever need any assistance, just ask! Best of luck in your blendevors! May I feature this in my group?

👍: 0 ⏩: 1

crazy4anime09 In reply to blenderenderer [2017-08-28 19:22:03 +0000 UTC]

You're very welcome! I'm glad my tutorials have helped you out I made them because it took me forever to figure out how to use MMD models in Blender, so I thought I'd share what I learned ^^

It took me a long to time and a lot of searching to figure out how to get the physics to work. I think I found out about it in a youtube video that wasn't in English lol. It still may have some issues and not work 100% though. I made a walk cycle animation and the physics stopped working halfway through and I'm not sure why, but when you import a motion from MMD the physics seem to work pretty well.

I will and thanks! Yes you may feature this in your group I am planning on making updated versions of these tutorials when 2.79 comes out because the MMD tools addon has had changes made to it since I made these tutorials ^^

👍: 0 ⏩: 0

chrisff [2017-07-04 15:39:53 +0000 UTC]

Just wanted to say a massive thanks for this awesome tutorial. With google I managed to discover the model, motion and sound parts before landing here. But the jewel in the crown was your tutorial because it showed me the physics and baking steps. They make all the difference! FWIW I'm tinkering with animating 2B, 9S and A2 from the game Nier: Automata. Awesome game and I'm fascinated enough by these characters that I'm trying to learn how to make them dance, coz I sure can't  

👍: 0 ⏩: 2

AdelinePrimrose In reply to chrisff [2017-07-05 15:45:11 +0000 UTC]

Have to agree, a very useful tutorial. Like chrisff, it was the 'bake all physics' bit that was my missing step, although I'm using Blender 2.72 and reached it from..

 Properties|Scene|Rigid Body Cache|Bake All Dynamics

Nice to know there are others still tinkering with MMD/Blender crossovers, as I'm new here and seem to have discovered MMD very late in the day.

👍: 0 ⏩: 0


| Next =>