Rigify Arthritis?

Issue #1005 duplicate
Midnight Arrow created an issue

I noticed for some time that Rigify knees bend badly when the foot IK is lifted. I assumed it had to do with the issue causing legs to squash if you don’t pick “Optimize for IK”, but after testing I think it’s a separate issue since it’s getting worse over time.

On the left is the default Rigify rig.

On the middle is a figure imported with v1.6.1.0824.

On the right is the same figure imported with v1.6.1.0999.

This is all done in Blender 3.0, due to #952.

As you see the bad bending is significant worse in 0999. And for some reason the pole target is on the wrong side of the X axis? If you compare with the default rig it stays on the correct side. But if you clear location (Alt-G) on a Daz-convert rig the pole target returns to the wrong side.

This is done in Blender 2.93 which I still have loaded v1.6.1.0727. Without the pole target enabled the bending is good.

With the pole target we see similar results to v1.6.1.0824.

But when we manually align the pole bone to the shin’s local axis in edit more, the bending looks much better.

Further it seems like bones aren’t imported properly in the first place. This is base G8F imported with 0999. The local axis gives totally different results for the shin bone between Daz and Blender, implying bone roll is off. While Daz and Blender have different orientations, the shin in Daz is angled but in Blender it seems to use just the global axis. This could explain why Rigify feet IK bases are always rotated at random angles. Ideally the shin, foot, and pole should be oriented on the same axis for proper bending.

Comments (5)

  1. Thomas Larsson repo owner

    The thigh and shin roll angles were changed because of issue #199. But that was two years ago and cannot explain the difference between the recent versions. Moreover, turning off the recalculation does not improve things.

    It seems like rigify does not like the A-pose, but prefers the T-pose of the default rigify metarig. You can test that with the Create Metarig button, and then rigify it with the Generate Rig button in the armature context. The pole targets are misplaced in the same way.

  2. Thomas Larsson repo owner

    In the last commit recalculation of roll angles is made optional. And it doesn’t apply to G8 characters, where it doesn’t make sense since the rest pose is not the T-pose.

    This doesn’t fix the problem with the misplaced pole targets, though.

  3. Midnight Arrow reporter

    I did some tests and you’re right, it seems Rigify defaults to use the global axis even when if you roll the metarig bones.

    I find the inconsistent leg orientation and the need to optimize the rest pose gets in my way sometimes. I’m going to keep this issue open while I bite the bullet and look into a way to write a custom limb type for Genesis 8. If I come up with something I’ll post it here.

  4. Alessandro Padovani

    this is a “bug” in rigify that doesn’t support the A pose, merging with #952

    note. SOLUTION. Also this is fixed if we use “optimize pose for ik“ that’s what this tool is for, so this issue is already handled by the plugin.

  5. Log in to comment