wired_sine_function

   162   2   1
User Avatar
Member
8 posts
Joined: Oct. 2017
Offline
Hi
I'm a beginner of Houdini as well as poor math ability,(but a true heart for FX:lol

I got a wired scenario of sine function

should be 0.5, but I got a negative result -0.988032

Could someone tell me why please~~

Regards,
jessica

Attachments:
wired_sine_function.png (36.0 KB)

User Avatar
Member
9 posts
Joined: March 2014
Offline
Sine node works with radians. So -0.988 should be fine. Depending on what you are after you can use the “degrees to radians” node before your sine node.
https://vimeo.com/jon3de [vimeo.com]
User Avatar
Staff
2510 posts
Joined: July 2005
Offline
You can insert a deg_to_rad VOP inbetween the const1 Constant VOP and the sine2 Sine VOP to convert your degrees to radians as mentioned above.

Tip to remember is that anything to do with VOPs/VEX is always radians, while older school SOPs that use Houdini expressions are in degrees.

When you build tools in VOPs or VEX wranglers, always promote your rotation parameters using angles in degrees and not radians. No artist I have ever met worth their salt thinks of angles in radians.

That is why you use the Deg to Rad VOP.
Edited by old_school - May 17, 2018 14:40:42
There's at least one school like the old school!
  • Quick Links