eduardo simioni

Tag: additive animation

changes to the additive animation script

by on Feb.24, 2011, under MotionBuilder

Made some improvements to the script. After almost blowing my brains out trying to debug again all the matrix math, it seems the additive results were not being added correctly to the control rig’s bind pose.

Anyway, I switched from getting the bind pose from the control rig for the actual “stance pose” for the bone skeleton. This is the pose stored when you “add the character”. I get it’s matrix and paste it on a frame on another layer at take03. It shouldn’t be needed if the bones have zeroed out rotations though.

From all that debugging I’ve learned a couple of things:

– How to install numpy and any other modules/libraries to Mobu’s python;
– That Mobu crashes if I try to extend a list of FBMatrix() to another list (but append works);
– That to get the stance pose I need to necessarily do a .SetMatrix then .AnimationNode.KeyCandidate(). And obviously a .GetMatrix before that to find the stance matrix.

I will post more about the modules thingy on the next days.

Leave a Comment :, , more...

additive Animation for Motionbuilder

by on Jan.21, 2011, under MotionBuilder

Ok, done! Tested with EMotionFX at work and it worked great! It will probably work with both Unity, UDK, or any other animation system, but I’d love to hear from anyone that tries it out.

You can download the .py over at github, or all ziped files here. The readme files explains it all. You just need a characterized character, an animation ploted on take01, a pose ploted on take02 to be subtracted and an empty take03.

If you find any bugs or have any question, ideas or feature requests just send them my way.

Edit: added an example file using the Gremlin sample scene. Just open it and run the script. You can get a good idea of how it works by studying the content on the takes, it’s quite simple and straight forward.

Leave a Comment :, , , more...

additiveAnim for Motionbuilder?

by on Jan.16, 2011, under MotionBuilder

Uploaded a tentative version to github. I got it working with a full character, but will have to try it out on EMotionFX on monday at work.

I need to add the pasting of the tpose automatically also.

Leave a Comment :, , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!