Workflow for MakeHuman to Blender to Mecanim

I’ve been experimenting with MakeHuman to Blender to Mecanim and I’m finally getting the workflow down. I was curious if anyone else has tackled this and if you want to exchange notes.

I’ve tried exporting each of the possible rigs and they all have some issues mapping to mecanim. The two best so far has been the GameRig and the SimpleRig. I’ve settled on the SimpleRig because it provides more detail on the face area and I’m in the process of trying to perfect the .HT file so you’ll have a mappable and rigged toon just using the provided workflow.

Anyone else have experience with this? Or anything else they can add?

I’m getting closer.

https://www.youtube.com/watch?v=th3Dx0zCzhI

As you can see, the teeth are attached to the wrong bone somehow, which is tough because they use a separate piece of rig. I can just delete them but if I can get this last part then I’ll have a guy rigged well enough to do face close ups with a wider range of emotions and lip synching.

Anyone tackled this before that could give advice?

Got it, I can bust out a mecanim compatible humanoid model in roughly 30 minutes now. The fix was just to get in blender and manually paint some of the vertices that weren’t in a vertex group. Unity will give you a count of the vertices as a hint. For me it was the teeth. I still have about 45 vertices that aren’t in a group but i haven’t been able to detect an issue and don’t feel like cleaning it up at this late hour.

I’d post a new video but it’s largely the same minus the teeth flying around.

A quick update. The Make Human mapping is tried and tested now and I’ve begun a very basic attachment system for adding modular equipment to the rig. I hope to eventually get some clothes on this kid.

Finally. Pants for everyone!

The pants are rigged like the body parts it covers and I match bones at runtime to bind the equipment and synch the movement. Kind of a pain to have to rig all of the equipment but the proof of concept is solid, even if my artwork isn’t.

No, Unity should stick to making its game engine better and better and not add a bunch of bloated features to accommodate the lazy or inept. Clearly it can be done already. If you want this feature added to Unity YOU do it.

Blender got support for it because the developers of MakeHuman implemented it.

It’s complex enough to represent a good unit of work. I plan on doing another pass on it soon and may push it out as an add on. This type of work always beats me because my modeling skills are bunk, and throwing junk in my test bed agitates me even when I should know better. So i end up modeling mediocre gear and getting distracted.

I’m also using makeHuman with blender and unity, I think I’m using the simplest rig though. I had some problems at first but it wasn’t so bad at the end.

I’ve been trying to get my rig compatible with Mecanim.
Unfortunately I have ik on the arms->hands that means the hand is not a child of the forearm it’s attached to.
It’s making it hell to get into Mecanim.

I can make the hand a child of the forearm, but then the process of animation in Blender becomes a pain.

I wish the mecanim hierarchy wasn’t so strict. It’s really stumping me.

can you send me what you have so far, whether just instructions or files like the .ht? i’m starting work on a game in unity, and planning to use makehuman to do the characters. i’d rather not re-implement the wheel. PM me for more contact info.

I’m using makehuman, i can say with simple rig its working nice in every software i use (motionbuilder, blender, unity udk etc etc), the only one problem is than you ve to create more bones in the hands, remove teeth bone and re weight. Another one problem i ve found when i use it in unity, characters dont preservevolume exporting from blender, still if i apply modifiers, any suggest?

Its too bad make human doesn’t work natively with mechanim.

The Xonotic rig works pretty well for Unity if you’re just looking for the most simple bones. Also, I made a custom skeleton file for Unity. If you put this file:

https://www.dropbox.com/s/jd7lc9jf2ato5rk/unity3d.json

into

\makehuman\data\rigs

from the SVN-checkout of makehuman, this skeleton template is automatically recognized by Mecanim without any fiddling, and it includes the face and finger bones that Xonotic leaves out.

Hey guys… I’m trying to get into this workflow. would absolutely love to get a makehuman rig into unity. Can I add that skeleton file into makhuman 7 and that fires out a rig that will work in blender and unity? ie I can animate in blender but also use mocap in mechanim. I’ve already tried it and obviously doeasnt work. Another dude on here wrote a script for the rigify rig in blender and it worked a charm… but the beauty of the makehuman rig is the facial constraints… can anyone run me through the process? Regards

Ah I see the rigs in the options. is it the simple rig or the game rig i need to export?

wow, necro thread :slight_smile: Holographic… you might try bringing the rig into Blender first. Blender has a plugin that’s disabled by default but you can turn it on and it allows you to import MakeHuman files… you could then save as .blend or export to FBX and use within Unity.

Ach!! thought I had a work around by appending the hand done animation from the mhx rig into the simple rig version. its recognoising the animation but not all the bones are confroming… bummer!

Heya Dustin. ah yeh i’ve been bringing it into blender alright. but the fbx export wont work properly in mechanim/unity. I want to use hand done animations as weel as use mo cap in unity and mix them up while keeping the facial rig.

When I export from Blender(2.69) I get a bounce of blank mesh files and a lot of GZM.?? files. Is there anyway to eliminate these files from the fbx export?