Extract ABC transform and match it to skeleton

   1386   2   2
User Avatar
Member
8 posts
Joined: June 2019
Offline
Hello 
Please help me to extract the transform from ABC.I have to replace a filmed leg on some footage with a full rigged limb.

The comp team has sent a tracked geometry leg as tibia bone and a knee locator, both in ABC format. We tried to export a fbx but the result was unusable.

So, I have to extract P, rot and orient from ABC and pass it to a root bone of the new leg.
Whatever I tried to get them correct I failed. I tried to get a matrix transform from the centroid imported ABC and copy it to root rig pose...but somehow seams axis are not ok, origin also add an offset, etc. Only crap, not one correct output.

So again, I need the ROOT to follow the 'extract_tansform' location and orientation.

Here he working file [we.tl]

Any help will be appreciated
Thanks in advanced

Attachments:
houdini_HhQY05m09F.png (744.8 KB)
Forum_ABC_motion_extract.zip (14.8 MB)

User Avatar
Member
294 posts
Joined: July 2013
Online
there you go, there is a 90deg offset but you can fix that easily

Attachments:
Forum_ABC_motion_extract_fixed.hiplc (819.7 KB)

More code, less clicks.
User Avatar
Member
8 posts
Joined: June 2019
Offline
Jonathan de Blok
there you go, there is a 90deg offset but you can fix that easily
Manny thanks. It works like a charm.

What I don't understand is why on my workaround I've got that ROOT bone offset related to captured point.
I used this method many times to stick other geometry to a captured one.
Indeed, was a simply copy to points, as it worked here as well.

This was the reason for 'to_0' rigpose node, to move root node to 0, then copy transform from captured point, without offset.
But isn't work...and still don't know why...

Thanks,
  • Quick Links