Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Materials / Sine using hypershade?
  RSS 2.0 ATOM  

Sine using hypershade?
Rate this thread
 
63694
 
Permlink of this thread  
avatar
  • Location: Pune
  • Total Posts: 57
  • Joined: 11 July 2007 03:45 AM

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?



Replies: 0
avatar
  • ldunham1
  • Posted: 20 January 2012 01:40 AM

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

Replies: 1
/userdata/avatar/s67rsr6uz_hj.jpg

Thank you for your suggestion.. I will try it.

Author: Nilesh Jadhav

Replied: 20 January 2012 04:01 PM