Re: Expression For Shape Blend

2014-01-28 Thread Will Sharkey
Very cool, its a linear interpolation I'm after and this solution works great! Cheers. On Mon, Jan 27, 2014 at 5:54 PM, Alok Gandhi alok.gandhi2...@gmail.comwrote: It depends on how you want to interpolate. As the relation may not be necessarily linear, there could be infinitely many ways in

Expression For Shape Blend

2014-01-27 Thread Will Sharkey
Hello, I have very basic scripting knowledge and need a little help. I have an Eye Fix shape that I would like to blend on and off as another controller reaches a value of 1. I'd prefer to use an expression instead of a 'link with' as I would like to multiply the result by another condition. But

Re: Expression For Shape Blend

2014-01-27 Thread Sergio Mucino
I'm guessing you need the rest of the values to be interpolated? (As in... what if Slider == .6?) On 27/01/2014 10:34 AM, Will Sharkey wrote: Hello, I have very basic scripting knowledge and need a little help. I

Re: Expression For Shape Blend

2014-01-27 Thread Will Sharkey
Yeah, I would need the values interpolated. I could do it in ICE but I thought it would be nice to keep it as a simple expression. Thanks for the help. On Mon, Jan 27, 2014 at 3:47 PM, Emilio Hernandez emi...@e-roja.com wrote: Yes you can do it with expressions. It is a nested conditional.

Re: Expression For Shape Blend

2014-01-27 Thread Emilio Hernandez
It will work faster in ICE with the described method as you bypass the shape manager, or the animaton mixer. And go direct to the cluster to grab the point data as you are direclty adding the point positions. You can also drive the point positions with a weightmap as well, multiplying the output

Re: Expression For Shape Blend

2014-01-27 Thread Nicolas Esposito
It depends also if you want to share this thing on other characters or just this one. If its just for this one I would suggest to go with Expressions If you want to share between different characters its better to use ICE, expose the values you want to control and its done ;) 2014-01-27 Will

Re: Expression For Shape Blend

2014-01-27 Thread Sergio Mucino
That won't be a simple _expression_, but it is possible. You would need two linear interpolations as expressions. I believe Emilio already proposed something. On 27/01/2014 11:09 AM, Will Sharkey wrote: Yeah, I would need the values

Re: Expression For Shape Blend

2014-01-27 Thread Will Sharkey
great stuff, I'll try both but I might just go down the ICE route. Thanks again. On Mon, Jan 27, 2014 at 4:19 PM, Emilio Hernandez emi...@e-roja.com wrote: It will work faster in ICE with the described method as you bypass the shape manager, or the animaton mixer. And go direct to the

Re: Expression For Shape Blend

2014-01-27 Thread Matt Morris
I'd go the ice route as well, not least because you can add an fcurve node to control the amount of influence over the 0 - 1 range, so its a link with but without the keys or curves appearing in the character's dopesheet/ae. On 27 January 2014 16:56, Will Sharkey willjshar...@gmail.com wrote:

Re: Expression For Shape Blend

2014-01-27 Thread Alok Gandhi
It depends on how you want to interpolate. As the relation may not be necessarily linear, there could be infinitely many ways in which the interpolation can happen. Take a look at my drawing http://imgur.com/bM8Gx2H to see what I mean. I suggest an fcurve into the expression will be of great use

Re: Expression For Shape Blend

2014-01-27 Thread Emilio Hernandez
Yeah. ICE, ICE, Baby. 2014-01-27 Matt Morris matt...@gmail.com I'd go the ice route as well, not least because you can add an fcurve node to control the amount of influence over the 0 - 1 range, so its a link with but without the keys or curves appearing in the character's dopesheet/ae.

Re: Expression For Shape Blend

2014-01-27 Thread Emilio Hernandez
Nice! 2014-01-27 Alok Gandhi alok.gandhi2...@gmail.com It depends on how you want to interpolate. As the relation may not be necessarily linear, there could be infinitely many ways in which the interpolation can happen. Take a look at my drawing http://imgur.com/bM8Gx2H to see what I