Blending between 3 (or more sources)

   1919   4   1
User Avatar
Member
517 posts
Joined: Dec. 2013
Offline
Hiya,

I was struggling to think of a nice way to do this so I thought I'd ask here. Maybe I'm missing something easy
I often blend two inputs on a blend node and thats fine, just drag one channel to the other and subtract it from one to get something like this -

But is there a good way to blend between three or more channels? So if you blend any of the three up to one, the others go back to zero?

Thanks,
Pete
User Avatar
Member
85 posts
Joined: May 2011
Offline
Blending 2 values is relatively simple a+b=1 so b=1-a ( 1 solution possible)
With 3 values , ok at a=1 you want b and c values equals 0 , but what about a =0.5
You have multiples solutions b=0.25 and c=0.25 or b=0.35 and c=0.15 and so on..
You have the same issue in the skinning process with normalized weight (sum to 1), when you smooth or substract values from a bone ,where the remaining weight go ???
— dedeks 3000 —
User Avatar
Member
517 posts
Joined: Dec. 2013
Offline
Thanks! Yeah it gets out of hand quick! I’m just going to make it so the animator will have to look after that part
Just thought I’d check that I hadn’t overlooked something simple.
Edited by peteski - April 1, 2018 23:09:37
User Avatar
Staff
3455 posts
Joined: July 2005
Offline
you're best off using python to do the calculation then send those values to the actual parameters.
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
517 posts
Joined: Dec. 2013
Offline
Thanks Goldfarb, I think this might be one of those things that I’m over-automating though
Also some people might want to blend things differently.
I’m just gonna leave sliders.
  • Quick Links