Blend shapes - Multiply/divide the results without changing the weight value?


#1

Hello guys,

As you know, if I created a blend shape and for example put 2 in the blendShape weight attribute, it will multiply the end result by 2.
The question is, how I can multiply/divide the result without changing the blendShape weight attribute?

It sounds stupid, but I need this function, because I have automation system just takes a range of (0-1) from the weight attribute.

Any idea guys?

Thank you in advance.


#2

You can make a copy of the result (with weight 2 or what ever) then delete the blendshape and make it again with the new target.

David


#3

Have you tried setting the Envelope on the Blendshape node to 2?
It depends on your shapes but usually this works as a good multiplier for most blends.
fingers crossed.


#4

Hi!

Its very simple with a expression as the connection between the two.
If your controllers name and attribut for the blendshape is:
masterBlendController.blendvalue

And the name of the blendshape node and attribut is:
blendshape1.shape1

Then you can combine them two and just multiple by one.

blendshape1.shape1 = masterBlendController.blendvalue * 2;

See my point?:slight_smile:


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.