[flow_default] Transcription for week04 12 connect ik spine to reverse fk spine.wav
Browse files
week04 12 connect ik spine to reverse fk spine.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"file": "week04 12 connect ik spine to reverse fk spine.wav",
|
| 3 |
+
"transcription": {
|
| 4 |
+
"audio_file": "week04%2012%20connect%20ik%20spine%20to%20reverse%20fk%20spine.wav",
|
| 5 |
+
"text": "Okay, so now that we built the IK spine and the FK spine and the reverse FK spine, I want to show you how we can connect that all together. So that we can have both. And you know, you can have one spine drive the other spine. So you can, for example, have the, you can either have just one in your rig, you can either have just the IK spine or you can have just the FK spine or you can have the FK spine and the reverse FK spine on top. So completely up to you what you want to have. You can also combine the IK and the FK spine together. So for example that you have the FK and the reverse FK spine first and then that is driving the IK spine so that then you can animate the IK spine on top of the FK spine. You can also set it up the other way around where you have the IK spine first and that is driving the FK spine and then you can then offset from wherever the IK spine is with the FK spine applying curls and stuff like that or bends. However, that is more untypical. So most of the time you would probably have the FK spine first and then the IK spine on top to kind of like do adjustments or you know offsetting in terms of the But I'm saying that it's probably not worth the effort and probably also the speed loss that you will gain from that because the more stuff you add on top, the slower it will get. And in general in computer graphics or you know, node-based applications like Maya, you know, there is a dependency of nodes and like a certain order of evaluation. Now, if you have drive A, drive B and B drives A, that's usually creating a cycle and that's really hard to avoid. So I'm not going to even attempt that here and usually I don't, usually I try to keep the rigs as simple as possible. And you know, for example, for Desperado, that's kind of the spine that we had. So we had IK and I was in FK spine, then we had a reverse FK spine like what I showed you and then we had that drive, the IK and animators the my eyes are a little bit sunken in or rather the geometry here the skin is kind of like not in the right position anymore. You can also see that here on my fingers the skin is too high now so that probably happened somewhere along the way. So if I go here and I turn the skin cluster off then we can see it's going to the old position so somehow the joints must have you know moved the skin up at one point so if we have skin cluster on, the skin is kind of wrong now. We can easily fix that by just setting the skin cluster to zero and then going to skin detach skin. That is basically removed the skin cluster. So now the rig is not doing anything anymore to the skin. And now we can redo the skinning. If we have, you know, we have to make sure that all of our controls are kind of at zero because that's exactly the problem if your control is like this and now you apply the skinning then obviously it's going to be wrong and it's going to always have to offset so probably that's what happens somewhere along the lines. But now if everything is kind of set back to zero I hope I have that everywhere. I'm not going to check it but you probably should if you do it. Make sure that you don't have any like small small values anywhere applied to your rig. Perhaps at the end of this course we might look into a way how we can write a script to reset all the controls just to make sure but I'm not going to do that now. So for now I'll just rely on or hope that I have set everything to zero in terms of the controls. Then I'll pick all my joins again with the script, you know, selecting all the J and T's, des all the N joints, actually I have to twice in here, selecting all the N joints, selecting all the FK, all the IK joints, and all the I joints. If I run that, you can now see, obviously I have more joints now than I had before. So what we want to select here, or what we want to bind to is, we don't want to bind to the IK, as we don't want to bind to the FK spine, we don't want to bind to the REF reverse FK spine. The only thing that we want to bind to that spine is really to these individual joints that are following the NURBS surface. And the NURBS surface is driven by the IK. And the IK we're going to connect to the FK. So really I have to remove all the reverse FK joints here as well. So I have to find a way how I can do that with naming. So probably if I just type in refk, that's what all these names have in common, or all these refk, reverseFK joins have in common. So then I'll just add that to the list here as well, that it should deselect those as well if there is refk in the name. Now if I run that, now it will really only select the joins that don't have FK, RefK, IK, anything in it, just the ones that we really want to skin to. And I select my geo again, to the skin, smooth bind, make sure I have the same option, select the joints, interactive, which should be good. And then we should be okay here, and everything should be back to working again. And we fixed this offset here and also on the eyes. It's all good. Okay, so now let's look at how we can connect the IK into this, because at the moment I think if I'm doing bend, we can see that really only the FK spine is animated and the reverse FK spine but not the the IK controls don't follow that at the moment. So the skin does also not follow. So first let's go in here. I think I did that last time where I offsetted it a little bit here to decide my refk so that we can really see it's two separate chains, kind of one going up and one going down. We can now remove that offset so just go into the first refk. to I want to now parent them under the reverse spine. And I shouldn't take these controls and just parent them. What I should do instead is first create offset groups for all of those. Okay, so I'm going to group all those controls here to itself. So creating three groups. then I will call them, you know, most of the time I call them orient group or offset group or something like that. So the same name, spine, mid, scarlet, offset or orient maybe. That's what I'm going with usually. M, hips, orient group. And that's going to be so that it can catch any type of rotation that we might get once we parent it to something else, so different space. chest, orient, group, okay, now we have those. Then let's also make sure that those, these guys have the same pivots, okay? So what I'll try to do here is I will try to, let's go isolate, select it on these offset groups and let's try if we can move the pivots kind of the same locations. So it's kind of like this joint, the big joint here, with just the spine IK up joint, the IK joint, that's where I want to have also the controls pivot and also the orient groups pivot. Same thing for the chest, at the moment it's down there. So I'll just snap it to this IK joint here. Same thing for the mid, I'll also snap it to the mid. So now we have the mid orient group pivot here. We have the controls pivot there and obviously we have the joints pivot there as well. So all in the same spot. Now that I have these groups here created, these orient groups, now I can parent those two other things out of the IK spine and under the FK spine. So let's start with the top one here, the chest orange group. So that should go, if we show, remove Isolate selected. Let's maybe delete or hide those guys here as well. For now, let's put them on a layer in case we need to have them later on again. Create empty layer, just put them here for now and hide them. And let's also put the spine on there here as well, the surface perhaps, or actually the surface we can probably hide for now. Set the visibility to zero on this one. So now what we want to do is if we look at this and we do our band, the ref case spine is following that. And then the ref case kind of going away from there. So we want to parent all of our IKRing groups here under this ref case spine because then it will follow both. And if we're looking at this again, so we want the chest to go under the first or end refk up here. We want to go the mid should go under the middle one, so that would be probably five refk five joined. And the last one, the hips are in group for the IK. We want that to go under the refk root, which is kind of the last one here because remember we reverted the, we duplicated the fk spine and then we reverted or reroute, rerouted it, reverse the order. Okay, so let's do that. Let's set everything back to zero. Now that we know what we want to do and now let's do it. And so the chest goes under the first refk joint here in the chain. So that would be this one here, refk end, so let's parent this under refk end, let's parent the mid spine under the middle one, so that we said was five, and now you kind of can see why we want to have nine joints in here, because then we always have a middle joint, or also if we add kind of like eight in between, that would be 17, that would also work. Again, we have one at exactly 50%, or five is also a good number, and we have one, two 3, 4, 5. Again, we have 1 in the middle. So here we have 9, so that means 5 is going to be in the middle. So let's take the mid-orient group and parent that under the refk5 joint. And then the hips goes under the last joint here in the chain, so that would be refk root. Now that we have that, let's test it and see what we get. So we can bend this and we can see, well, the IK spine kind of works, especially if we turn on the geometry. So bend works, kind of anyways. Mid, all the kind of works. like the mid as well. Let's test the bends here, the reverse bends. So we have bent upper, so that rotates from the upper part. We have bent mid. So it also looks very, very similar at the moment. And also we can see the chest here growing and some weird things happening here. And then the lower part also kind of looks very, very similar. So the reason why we have that at the moment is because if you remember we kind of painted everything away from the mid spine section here so we don't have any control over that. So at the moment for the eye case spine we really only have the lower section and the upper section. And because we only have those two and in the middle it's going to be interpolated due to the skinning that we did on the surface. That's exactly the reason why we're seeing these results not being kind of maybe perhaps how we would expect them also, why we can see that here the spine in the middle, the surface and therefore these joints under surface are kind of moving away a little bit from the FK spine that we can see here going through. Okay, so the more we bend, we can see this offset being created between those two spines. Also, if we go to another one here, can also see kind of the same thing where the surface is now moving away from that. And that's exactly the reason because we haven't skinned anything to the middle part. If we do that, if we skin it to the middle part as well, then it will probably be a little bit better. So let's try that. Now we have to go back to our spine, show the surface here, spine surface, turn it on. And then I'm going to go to a different perspective here, a different panel. And then I'm going to say, show isolate, be selected, that I can really only see the surface. And then I can paint it a little bit differently. So I go to Skin, Paint Skin Weights tool, and here as we can see nothing is painted to the mid, only to the top and the bottom parts. So now I'm going to paint to the mid section here as well. So I'm going to go to Replace and with a value of one, I want all these ones here to follow, to follow the mid section. And then here I kind of want to have a follow so this one should probably go 50% between the mid and the top here. So let's try to paint that. Actually let's paint this first 100% white and then we're going to go to the spine and paint it 50% now. Then we know exactly okay we're just removing it now it's fully weighted to the mid section now we're just removing essentially 50% by adding it to the top part here. So this should be 50 and then same thing for the lower, we say okay this one should be 50%. To be honest I'm not sure what's going on with my colors here. For some reason it looks a little bit dark. Oh because I'm in viewport 2.0, let's go back to legacy viewport. Here we go. It's maybe a little bit better. Also, when we're going to the low, we can see that there's still a little bit of influence from the lower part up here. That is because originally we had to follow up, go from here all the way up there and from here all the way down to here. Now we want this a little bit different, obviously. We want this to be weighted between the mid and this one and have no influence over the bottom one. Okay, so we'll go to this bind up and paint it 100%. We'll replace 100%. Those two. And same thing for the bottom. I'll paint both those 100%. And then we go to the mid section and now we say, okay, this should be maybe, you know, if this is 100%, this is 50%, and maybe this should be 0.1 or 0.15 or so. I'll try 0.1, 0.1 to the middle here, 0.1 to the middle there. Now we can see what we get and we can always change it later on if we want to. So now the midsection should have influence over that again and it does. But more importantly now if we try our bends again, it should work a lot better now. So we have the upper part here. We can see that midsection here kind of stays where it is. And it stays a lot closer to the high case bind, stays a lot closer to the F-case bind now. So we can bend the upper part. It might not make too much sense we talked about just before because of the rib cage. Also we can see the chest here collapsing a little bit, which we can probably fix later on. In skinning, we can probably add some extra drawings for that. And then the bend mid is working also a little bit better from the mid here. And then the lower bend, so we can really see a difference here between the bend low, between the bend mid, and between the bend up. And then when we test the low, or the reverse bends here, then we can also see a difference here. Again, ignore the chest collapsing here for a moment, but just paying attention to kind of what the spine in general does. We have a rotation point for the upper area. We have a rotation point for the mid area. It looks clearly different now, and then we have one for the lower area. And it all works. Okay. We can kind of bend whatever we want here. So the IK spine is following a lot closer to whatever the FK spine is doing, or reverse spine is doing, and then you can take this and offset it from there and animate your IK on top of that.",
|
| 6 |
+
"language": "en",
|
| 7 |
+
"duration": 1106.94,
|
| 8 |
+
"timestamp": "2025-11-28T05:11:30.208088"
|
| 9 |
+
},
|
| 10 |
+
"timestamp": "2025-11-28T05:11:30.221327",
|
| 11 |
+
"processing_time_seconds": 262.91070103645325
|
| 12 |
+
}
|