|
we can easily connect sine with time by usind expresion like
pSphere1.rx = sin(time);
I want to do same thing in Hypershade.
How to get time and Sin in hypershade?
|
|
|
|
by the sounds of it you want a node that outputs sin.
AFAIK there isnt one (that ships with maya), however it should be fairly easy to create the custom sin node as a python plugin (and you’ll probably find a few about)
That being said, your then limited with the plugin, as it will have to be loaded with the scene and taken/distributed with the scene.
If thats not a problem then that’ll be the best solution, but if not then you can create the expression and connect to to a node, then reconnect/alter the connection in the hypershade.
Again, thats only from what I know, and I could be wrong about no node outputting sin, or even the way to go about it so don’t take this as fact :)
Lee Dunham | Character TD
ldunham.blogspot.com
|
|
|