cgvirus / Simple-Retarget-Tool-Blender

A simple armature retargeting tool for Blender
GNU General Public License v3.0
113 stars 18 forks source link

Leg bone retarget issue (other bones OK) #8

Closed SlurmsMack closed 3 months ago

SlurmsMack commented 3 months ago

Hi cgvirus, first of all your add-on is great so thank you for sharing it.

I am running into some retargeting issues on a number of rigs, this one seems to have been made in Daz. Images below are showing the FK bones.

I am able to retarget the other bones successfully, even though the source armature (Mixamo) is in T pose and the target armature is in A pose, some slight adjustments made this work.

The leg bones however have an error and I can't seem to be able to fix it. It seems they are on a different axis but I struggle to understand why it would work for the other bones in the rig but not the leg bones.

Any help would be greatly appreciated.

Thanks

Rig after sucessful arm bone retargeting arms

Rig after unsuccessful leg bone retarget legs

cgvirus commented 3 months ago

Hi, please send the other rig to inspect. Will return to you tomorrow. Thanks.

SlurmsMack commented 3 months ago

Thanks so much, the link is below:

https://we.tl/t-IncphY0MdN

SlurmsMack commented 3 months ago

Hey, just checking if you got this as the link may have expired. Do you need me to send another one?

cgvirus commented 3 months ago

Hi, I got some high fever. Will look into it after recovery. Got the file. Thanks.

SlurmsMack commented 3 months ago

No worries at all, and no rush either. Hope you feel better soon!

cgvirus commented 3 months ago

Hi can you export the character with T pose from Daz. Also if of you can send me the FBX of the character as well.

cgvirus commented 3 months ago

So far What I am seeing:

Since Daz plugin creates way too much driver and dependencies, my rest pose creator for some reason can't create the rest pose for this character. I am also getting a lot of invalid driver issues in blender in your character. Snap here:

Screenshot from 2024-05-21 03-46-10

SlurmsMack commented 3 months ago

I would send if I could, unfortunately I received this model from the owner's patreon and I don't have access to their original DAZ model.

However, I believe I have (by chance) stumbled across a solution/workaround. After the retarget is applied, I played around with the settings in the target bone's bone constraints menu. After setting the Target to "Local Space (Owner Orientation)", the leg bones orientation matched the source bone. Seems quite simple but I wasn't looking at the constraints menu, bit silly of me.

Still a lit of bit of tweaking remained, for example when retargeting the source hip bone to the target root bone for this type of armature, you have to turn the influence of the rotation to zero to stop it from swaying side to side.

I hope this solution helps other people, from my perspective, I consider the issue closed.

solution 2

cgvirus commented 3 months ago

Well, it might work for one animation like walking but it will not work for others like sitting. Anyway, as you don't have the raw daz character, I think it will not be possible to debug. I will try to recreate the scenario within daz in some other machine. There mechanism as far as I have heard is kinda weird though. Let's see.

SlurmsMack commented 3 months ago

That's true I haven't tried this with another animations, I'll look forward to anything you come up with. Thank you very much for looking into this, much appreciated