Jump to content
gui

Motion Retargeting Tool

Recommended Posts

For the folks out there looking for a way to do motion retargeting inside houdini, here´s a tease for a tool that has being working for 2 years now! In a couple of weeks I will share more info about how it works, since I don´t have plans to release it, but I will help anyone who wants to do the same - the tool doesn´t have fancy a algorithm, but works very well.

https://vimeo.com/299246872

Mocap Regergeting Logo.jpg

Edited by gui
  • Like 2

Share this post


Link to post
Share on other sites

Hey, 

 

it's been a few months and I was wondering if you will ever release some instructions on retargeting within HD? Your tool looks awesome and is exactly what I need to achieve. 


Cheers,

George

Share this post


Link to post
Share on other sites
7 hours ago, xquisite said:

Hey, 

 

it's been a few months and I was wondering if you will ever release some instructions on retargeting within HD? Your tool looks awesome and is exactly what I need to achieve. 


Cheers,

George

Hi @xquisite , I, unfortunately, don´t have plans to release it in the near future, since It needs a major rewrite of the code and some tests using chops instead of python to do the retarget.

Most of my code was for handling errors that came from the CMU mocaps and for automating stuff. The core logic of the retarget I build it´s just linear algebra, so nothing "intelligent" for retargeting here. If you need help for building the retarget, just drop the scene and I will help you.

Share this post


Link to post
Share on other sites

hey @gui, thanks for responding so fast. I was just google-ing retargeting within Houdini and found your thread, because i am just getting my feet wet with animation within Houdini.

I have a long animation in C4D which i export either as alembic or fbx and import it into houdini. I place a character I rigged in Houdini into the scene and basically want to retarget that animation to that character. To be honest I don't even where to start with building up the network and asking you to go over the scene file would be very time-consuming for you I suppose. Maybe you have some tips where I can find some documentation on that, my search came up with nothing. And thanks a lot for your offer to help, appreciate it.

Share this post


Link to post
Share on other sites

Guilherme, how are you?

Come on, I have:

- Mocap captured by rococo software and exporting in an FBX. The animation was captured from a person with 1.80.

- I have a model that has a size different from my mocap, it should have its 1.65. It's in T-pose and or A-pose.

- I already tried to do the retarget in houdini using the CHOP channel and using the feath parameters, and the time I use it, my model tries to adjust to the size of my mocap, distorting the whole mesh of the animation.

Share this post


Link to post
Share on other sites

The overall idea is to "bind" the TPoses and follow each bone rotation from there. There are more intelligent approaches out there, but far harder to implement.

A simple parent constraint from the TPose should work.

In my setup, I did that using python objs to store the transformations and a python asset to automate the placing of constraints, but It still needs human input to link the source bone to the target one.

One note: I don´t like FBX very much, because it tries to mimic a joint approach and put the deformations in the nulls, instead of bones. It sometimes gives strange gimbal problems.

My usual workflow is to convert the fbx to bhv and then use mcbiovision to create a clean houdini rig internally.

  • Like 1

Share this post


Link to post
Share on other sites

Thank you guys, but I still have not been able to do it.

I already managed to export my mocap in the bhv format and then I converted it into .bclip and .cmd, and I can not get the other model to follow this animation.

Note: I do not know anything about python so I'm kind of lost.

I accessed the link that @Atom posted above, and I looked for Goldfarb's answers .. and I was even more lost.

Is there any other less complicated option to do this re-targeting?

Share this post


Link to post
Share on other sites

Send me a file and I will show how to do it.

  • Like 1

Share this post


Link to post
Share on other sites
On 13/05/2019 at 6:02 PM, lobao said:

Hi, sorry for the late reply, but I didn´t have much time to review that. I put some notes in the file, but in a nutshell, I just used paren_blend  constraint to match de movement. The idea is to use python to automate the constraints creation.ap_mocap_retarget_share_v003.hiplc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×