Ever wanted a sine node, but realised maya doesn't have one, so you have to use an expression?
Well.. turns out Maya does have one after all!
Karolis Galkus posts this great tip on using the eulerToQuat node to drive sin and cos here:
Thanks to Chris Lesage @ https://rigmarolestudio.com/rigging-spherical-eyes/ for making me aware of this.
And while we're on the topic of sine, I always refer to this page (and have done for years) when trying to visualise sine and am in need of reminder of the algorithm:
https://www.asc.ohio-state.edu/price.566/courses/694/Sin_fun.htm
But all you really need to know is: sin(time * frequencyMultiplier) * amplitude) + offset;
And while we're on the topic of sine, I always refer to this page (and have done for years) when trying to visualise sine and am in need of reminder of the algorithm:
https://www.asc.ohio-state.edu/price.566/courses/694/Sin_fun.htm
But all you really need to know is: sin(time * frequencyMultiplier) * amplitude) + offset;
No comments:
Post a Comment