samfred2 commited on
Commit
987ba70
·
verified ·
1 Parent(s): 638f35b

[flow_default] Transcription for week04 14 variable fk spine pt2.wav

Browse files
week04 14 variable fk spine pt2.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "week04 14 variable fk spine pt2.wav",
3
+ "transcription": {
4
+ "audio_file": "week04%2014%20variable%20fk%20spine%20pt2.wav",
5
+ "text": "Let's look at how we can make a softer falloff here. The moment if we're bending, you can see it's just bending one joint depending on which position we're on, so we're on six, it's bending just this one joint. So let's see how we can add a falloff to that as well. We want to make that variable also so that animators can animate or setting the falloff depending on how sharp or how curved they want to have that bent. let's add another attribute here called falloff. Without any minimum or maximum for now, probably add that later on. So now if we bend this here, 90 degrees, see what we want to do is, if we increase the falloff, so let's say we set the follow-up to, can maybe change it later on, but let's say the follow-up is one, then we want to have a bigger follow-up. So we want this second joint here and the one after, or the first joint before and the first joint after, those should also get a little bit of rotation at the moment they're getting none. So what we could try to do is we could try to see if this is six now, then it will be at the maximum and it will be fully on. But if we're increasing that just a little bit, the maximum input to 7, then it will get a little bit of rotation because it's not quite at the maximum yet. So if I set this to 7, you can see now we're getting a little bit of rotation here too. And same thing on the other one. The next one, one down, again we we're looking the incoming position is six, but at six, it's just going to be at the minimum already. If we set this to five, however, then you can see six is kind of between five and where the maximum hits, which is kind of in between the six that we had before, six and eight. So that would be seven. That's at seven is where the maximum hits. But if we set this to five, then it takes it two numbers or two positions before it reaches the full maximum, right? And now we can see that leads to this getting some rotation as well. Not, not the full rotation, just kind of a part of it. Okay. And this is still our main guy. So that still gets all of the rotation. So now that means what we can do is we set the minimum one below and the maximum one above. So that instead of having the first one, we have two in between. One is the minimum, then at half it goes to the maximum and then one step after it goes to the minimum again. So instead we're making these two versions now if the follow changes. Or actually let's just change it for now manually so we can actually see if that works. So we decrease the first one with one and we increase the second one with one or the input max we increase and input min we decrease with one, 0 to 4. Still keeping the middle part in the same number. So here the middle would be 3 so that would mean 1 and 5. And this one would be 1 and 5. So the next one should be 2 and 6. 2 and 6. And the next one should be 3 and 7. 3 and 7. Then the next one 4 and 8. 4 and 8. And then the next one, 5 and 9. Again, having 4 steps here. Where are we? 5 and 9, then 6 and 10. 6 and 10, and 7 and 11. Okay, here we go. Let's see what we get now with this. Having one less on main and one more on max. So let's see what happens if we use our position. Now we can still kind of step through here, but we are always getting three joints rotating as opposed to just one. It's going to be a little bit sharper now, so I hope we decrease that so you can see we're getting a less sharper bend here than what we had before. So for example if we set this to 5 we get the full rotation here, the full bend on the middle guy, but the outer ones get a little bit partial rotation from it and the next one down is still zero. So that means that at the moment it is still kind of hard coded the falloff. So we change all of those if you remember. But what about if we add this falloff here into the mix somehow so that animators can actually decide if they want to have zero falloff or a falloff of one joint or falloff of two joints and so on and so forth. So the way how we can set that up is by changing these numbers here. So by default we had 0 and 2 and we want to now somehow change that to remove one or add one or whatever the follow is set to. If it's one then we want to remove slash add one, if it's set to two we want to remove slash add two and so on and so forth to the input minimum and maximum values. The best way to probably do that would be with a plus minus node. So let's create some of those. So what we want to do is we want to use like these default values that we have. If nothing else gets added, then it should just be zero and two for the first one. So we come in here into the plus minus node, we go add two new items here to input 3D. And again, I'm using the 3D part here, the portion, because then we can always use more than just two or one. So even if I leave the other ones empty, it just feels, makes it easier to use. So we want to kind of pick these numbers and say, okay, this is our default, so zero and two. So what I'm going to do is on the input here, I'm going to say 0 and 2. So I'm using x and y a little bit differently, so it's not kind of bent to its side, it's for something else because we only need that once. It doesn't need to be three times, we just use it once. So 0 and 2, these are our default values. And I'm connecting these input or rather output x and output y to my input here, so that I can keep it, but then I can add or remove numbers from it. So let's add those in here. So we're zero and two, we want to keep those. So we add output 3DX to input min, so let's say zero. And then the second one is for input max rather, zero and two. So we got to keep those numbers, but now we have them in our plus minus node, or coming from the plus minus node as opposed to just being entered there. So that means now we can remove one here and add one here, or two or three or however many we want, can add and remove numbers from those inputs. We do the same thing for all the other ones here do is we have to set these numbers here for all of them. So the first one was zero and one. The second one, the default is one and three, right? So we always add one and kind of step our way up. So 1 and 3 here, 1 and 3 is the default. There's nothing else added to it. 1 and 3, then 2 and 4, 3 and 5. That's what we started with these values, right? 4 and 6, 5 and 7, 6 and 8, 7 and 9, 8 and 10, 10 and 11. That sounds a little bit off to me now. Let's check to make sure we got everything right. So, one, three, two, four, three, five, four, six, five, seven. Oh, here is a mistake. Four, six, five, seven five seven six eight, so the next one right six eight Seven nine Then eight and ten Okay, and then we connect them the same way. So we connect the output X always to the input min and the output max or sorry, output 3D Y to the second input here, the input max. Minimum input max is how we want to connect it to. Let's connect those up. Output 3DX goes into min and y goes into max. Then we can connect them all up the same way. X to min, y to max. X min, y max. Just sampling through all of those min, max, and you can see if you're doing it a bunch of times and it becomes actually pretty easy as long as you remember where to click and kind of the right ones output x into min, output y into max output x into min, output y into max, here go. All of them are connected up. At the moment, we're kind of back now to the default that we had before where it just kind of takes one joint. So it's pretty sharp. Okay. Only one joint. But now we have these plus minus nodes in here where we can now subtract or add, you know, whatever we want in terms of the falloff. So we can connect that falloff attribute that we have here. We can now connect that if it's zero, it shouldn't add anything to it, so then it will be this behavior, but if it's one, then we're going to remove one from the min and we're going to add one to the max. So that means on our plus minus nodes, we can directly connect it into the 3D Y into the second slot here for the Y because here we want to add right all of those guys want to add one to all of them. So let's connect this directly in and then from the other one here into the min we want to remove one, want to subtract one. So what we can do there is we can basically just use a multiplier to say well if this is one, our falloff attribute is one, we want actually minus one out of it, so that will remove one from it. So let's set that up. Let's create a multiplier and connect our falloff into input 3DX and then set this to scale with minus one. So that means the output of that will be minus one now so that we can add onto here so we'll subtract one right zero plus minus one the output of the multiplier will be minus one so let's add all those and so all the output x or output x from the multiplier we only have to use that once that goes into the first, sorry, into the second, but into of scripting it all up. It's less likely that you make mistakes so you can just rerun it but I think I got everything correct so I connected all the or this output x I connected them into all these slots here so if we look how this looks we're subtracting minus one from it already because the falloff at the moment is set to one so we can see here the attribute editor zero plus minus one is minus one the second one one plus minus one is the same as one minus one so that means it's going to be zero here two minus one is going to be one and so on and so forth and then into the other one we're going to add one so there we can directly connect from our falloff attribute into those input 3D1Y channels. So directly we said, let's connect those up. So fall off, we're starting to second one, but the Y. Second one Y. Second Y. Y. Oops, wrong one, undo. Okay. And last one. Okay, so now we've connected all those up. Let's see what we get now. So now we have already the non-sharp version because we have set this to one, right? If we set this back to zero, then we can see now it's just bending one joint. If we set this to one, it's bending three joints. If we set this to two, it's bending even more joints. Now it's bending five joints and we get a fall off here. So that means if the animators are setting their falloff to something else, they're getting more joints involved. And we can still change that position of where it's happening, the bend. Set this to 1, then we get only 3 joints involved here in the bend, and again we can also change that position where it's happening. And finally if we set this to 0 falloff, then we get the bend only on kind of one joint here. This is a round number and then we can also kind of change the position where this happening. So you can see kind of like all works now. Right, we can send S to zero. So here we could potentially also change. Let's go to five here maybe to the middle. We bent this and we increased that to the problem here. Maybe one problem, one small minor problem might be that it's kind of changing the bend. So it would be nice, I guess, if this was 90 and you're changing the falloff that it keeps the 90 degrees and just makes the arc here or the curvature smoother. That would probably require a couple of other nodes on top. I'm probably not going to do it here, but I think this is already quite nice and quite advanced what you can do with this alone. You could potentially even have more than just one bend and position or rather, probably you could have more bend and position follow attributes so that you could have one bend and set the position wherever you want. And you could have another bend and position to bend it somewhere else with maybe a different falloff. And then you could add the results of both of them together. So you kind of replicate all this stuff twice. And then you're adding the results of this plus the results of the other one with a plus-minus average node, adding them together before they go into the joints. That way then you could have two independent positions and bends. So one could be the lower one, the other one could be the upper one, and then you can even blend them over each other so that the upper one can become the lower one and the lower one can become the upper one, if that makes sense.",
6
+ "language": "en",
7
+ "duration": 1083.65,
8
+ "timestamp": "2025-11-28T05:10:49.291167"
9
+ },
10
+ "timestamp": "2025-11-28T05:10:49.298080",
11
+ "processing_time_seconds": 221.98125910758972
12
+ }