Welcome to odforum
Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.
Search the Community: Showing results for tags 'angle'.
Found 6 results

Hello, I'm happy to share with you the script plugin XPopMenu ! Initially developed on Softimage by Reinhard Claus, XPopMenu is a popup menu that you can associate to a hotkey to get under the hand a quick and easy customizable set of tools. you can layout your menu using simple method like "addItem", "addTitleItem", "addSeparator" and "addSubMenu" If you want you can add icon for each action item (icons collection come from axialis.com with some custom from Reinhard Claus) As concrete example, I've joined two bonus tools : one to get distance and an other to get angle. Quick demo : I Hope you like it ! Cheers XPopMenu.zip

Hi So I have two vectors, one is the y vector (0,1,0) and the other is an arbitrary vector called @aim, given those two I want to find the angle between those two vectors. Now this should be pretty straight forward, just use acos(dot(@aim,@up)) wich gives the angle in radiants, and converted to degrees would be a value from 0 to 180, but what If I want to find when the angle is positive and when its negative (not just the difference)? For this I found this thread on the sidefx forums: https://www.sidefx.com/forum/topic/41091/?page=1#post184272 And this Is what I have so far (look at the screenshot). The "problem" here is that if I set the arbitrary vector to be (0,0,1) for example, I get a negative 90 degree angle, so I guess there is a specific direction wich the last piece of code "looks for"... This all comes down to know when the angle is greater than 180, but the original angle formula, as already said goes from 0180. There is something wrong with my code or the bheavior is normal? If so how can I get the angle ranging from 0 to 360 degress? (I have to know when its greater than 180) Thanks

Hi, How to find rotation angles between two vectors? Lets say Vector A = {0, 1, 0} and B = {1, 0, 0}, the angle between these vectors is 45. We can find this angle by using combination of dot product and inverse cosine. But I would like to know the rotation vector like {45, 0, 0} Thanks for your time
 10 replies

 Rotation matrix
 angle

(and 2 more)
Tagged with:

Hi there, I have a problem calculating angles using a vopsop. Basically I have a grid with 4 points and I would like to calculate the angle of each of them using a vopsop. I'm doing likr this: angle = acos(dot(normalize(v1),normalize(v2))) but I'm definitely not getting the right angles. I don't know what I'm doing wrong. I've attached an .hip if that can help Thanks in advance get_angles.hipnc

Guys. Help me a trigonometric functions problems, i have to calculation the angle of the polygon. The expression angle = acos (dot(N(V1),N(V2))) can't get the degrees great than 180, i have a polygon interior angle great than 180. How can i judge when negative the angle, I totally forget the dot product principle. Thanks. angle_between_vectors.hip

Hi, I was trying to use the measure sop and the curvature mode to filter the flat part of my object and emit only from curved area but I didn't find very successul, does anyone know any other way to filter those areas ? Thanks ! Chistof