MakeHuman/Blender integration

Reply
Avatar
by SpaceGoof

We integrated the Leap in the MakeHuman Rig control Blender export. If anyone is interested: http://slsi.dfki.de/software-and-resources/hand-tracking-for-3d-editing/

Avatar
by Joe Ward LM

Hey, this looks really promising. I love your object manipulation; it is so much easier than with a mouse!

I wasn't able to bone manipulation or posing to work, but I'm very new to Blender, so it's quite possible I'm just doing something wrong.

Thanks for sharing!

In reply to SpaceGoof
Avatar
by fnunnari

Hi Joe,

To pose a character just select the IK controller (aka PoseBone) and move it as any other object. In MakeHuman rig the hand IK controllers are those roundish closed-lines above the hands. You should switch to Pose edit mode to use them, and also enable their visibility if needed.

In reply to Joe_Ward
Avatar
by Joe Ward LM

Thanks, it was a script permissions error (Auto-run disabled: Driver 'x1'). Until I used the "Reload trusted" option, I could move the IK controllers, but they didn't change the model. It works fine now!

In reply to fnunnari
Avatar
by Wayne Johnson

Hi SpaceGoof,

I so badly want to make this thing work on my Windows 7 system. My first mistake was to right click save the direct link from github for the websocket.py: https://github.com/liris/websocket-client/blob/py3/websocket.py.

Took me a while to realise I'd downloaded the github html page where the source is hosted. Ended up going to the site and copying the source text and pasting into a websocket.py file. Copied to the location in the instructions.

Added the LeapModalController-v1_0.py into Blender via Addons Install.

But when trying to enable the Addon, I get a dialog with:

[Microsoft Visual C++ RunTime Library]
Runtime Error! Program: C:...

R6034 An application has made an
attempt to load the C runtime library
incorrectly. Please contact.. etc etc.

I've clearly done something else wrong or missed a runtime package.

Tried on both 2.63 and 2.68 version of Blender on Windows 7.

In reply to SpaceGoof
Avatar
by fnunnari

Hi Wayne,
I'm going to investigate this issue in the future.
I've found something here: http://msdn.microsoft.com/en-us/library/ms235560(v=vs.90).aspx

Unfortunately is not a bug from our script. Our script is pure Python, so can't introduce dll-related bugs.
Seems to be a Blender-specific error that is triggered when our script is launched.

Do you have this error when you load the provided blender scene (LeapModalController-v1_0.blend)?
Or also when you copy/paste the script into the script buffer of a clean scene?
Or when you install the script into your Blender installation?
Or always?

Thanks,
FN

In reply to sausage
Avatar
by Wayne Johnson

Thanks, fnunnari, yes, these are pretty specific Microsoft errors, and you being on a Mac, seems that there is something not installed over here.

Loading the scripts into place are all fine. The problem occurs when ticking the box to make the addon enabled. This is when the external error popup occurs. When disabling, the error is in the form of a trackback error within blender.

Other addons are ok.

I'll check that link and see if I can find out more on my end.

In reply to fnunnari
Avatar
by Wayne Johnson

I found a few posts on the blender forum and blender artists that gave me the idea it could be CPU version of blender versus the DLLs.... somewhere.... so I tried the 64 bit version of 2.68. Ended up with exactly the same result.

I also appear to have several versions of C++ Redistributable installed from every version of Visual Studio going back to 2008.

There are a few posts below that talk about this issue and python. They might help:

http://www.blender.org/forum/viewtopic.php?t=20716&highlight=r6034
http://www.blender.org/forum/viewtopic.php?t=20118&highlight=r6034
http://blenderartists.org/forum/showthread.php?257033-Pygame-runtime-error!-with-Blender-2-59&highlight=R6034
http://blenderartists.org/forum/showthread.php?250469-Cython-and-Blender-%2832bits-and-64bits%29-problem!

In reply to sausage
Avatar
by pawloch

this plugin works nice under linux too. thakns :)

In reply to sausage