Twist control for bones on curve using parallel transport algorithm (Rigging)

   2094   6   1
User Avatar
Member
355 posts
Joined: Nov. 2015
Offline
I have a curve where I used the parallel transport algorithm to transport the normal along the curve and then I use this curve as a follow curve for a bone chain. My question now is how can I setup up the twist along the bone chain and also make it twist beyond 180 degrees without flipping? (see attached file below) any guidance and examples will be greatly appreciated. Thanks.

Attachments:
parallel_transport_curve_framing_03.hip (306.8 KB)

hou.f*ckatdskmaya().forever()
User Avatar
Member
2 posts
Joined: June 2018
Offline
https://www.sidefx.com/tutorials/parallel-transport/ [www.sidefx.com] maybe this can help?
User Avatar
Member
355 posts
Joined: Nov. 2015
Offline
@Dexo thanks, I just ran through the video but I already have the algorithm figured out and I already have correct coordinate frames running along the curve. What I want now is how to use this to drive the twist axis of the bones (which are driven by the follow curve CHOP) and get a distributed twist that goes beyond the -180-180 quaternion limit.
hou.f*ckatdskmaya().forever()
User Avatar
Member
475 posts
Joined: July 2005
Offline
Hi,

have you tried matrix rotations instead? It seems to work quite well, if you rotate the normals around the tangent.

Attachments:
parallel_transport_curve_framing_03Y.hipnc (1023.7 KB)

User Avatar
Member
355 posts
Joined: Nov. 2015
Offline
Aizatulin
Hi,

have you tried matrix rotations instead? It seems to work quite well, if you rotate the normals around the tangent.

Thanks for setup @Aizatulin. Good stuff, but it still flips out at 180. I'm wondering if using the bones rest angles is the way to go and avoid Houdini's stupid (stupid to me)curve normals feature on the inverse kin CHOP? don't know man. I just have to try some shit now. Thanks though bro.
hou.f*ckatdskmaya().forever()
User Avatar
Member
355 posts
Joined: Nov. 2015
Offline
miccetro
Aizatulin
Hi,

have you tried matrix rotations instead? It seems to work quite well, if you rotate the normals around the tangent.

Thanks for setup @Aizatulin. Good stuff, but it still flips out at 180. I'm wondering if using the bones rest angles is the way to go and avoid Houdini's stupid (stupid to me)curve normals feature on the inverse kin CHOP? don't know man. I just have to try some shit now. Thanks though bro.

@Aizatulin this solution was actually quite stable. I'm still on this but just lettin' you know this is very usable for me. Not sure if I can come up with another solution but thanks again.
hou.f*ckatdskmaya().forever()
User Avatar
Member
475 posts
Joined: July 2005
Offline
Sure man nice that is working, but I don't have another idea at the moment aswell.
  • Quick Links