# Search the Community

Showing results for tags 'angle'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• General
• Lounge/General chat
• Education
• Jobs
• Houdini
• General Houdini Questions
• Effects
• Modeling
• Animation & Rigging
• Lighting & Rendering
• Compositing
• Games
• Tools (HDA's etc.)
• Coders Corner
• HDK : Houdini Development Kit
• Scripting
• Art and Challenges
• Finished Work
• Work in Progress
• VFX Challenge
• Effects Challenge Archive
• Systems and Other Applications
• Other 3d Packages
• Operating Systems
• Hardware
• Pipeline
• od|force
• Feedback, Suggestions, Bugs

• 0 Replies

• 0 Views

Found 7 results

1. ## Signed angle between vectors in VEX

In Vex, I'm trying to find a signed angle between two vectors i.e. an angle which treats one vector as a "base" and the other as a rotating "clock hand", so that I get positive angle for a concave angle between the two (0-180 deg) and a negative angle for a convex angle between the two (180-360 deg). The dot product on normalized vectors gives me the angle, but it's symmetric. Is there a trick that gets me the sign?
2. ## Get 0-360 angle between vectors in VEX

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#post-184272 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 0-180. 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

4. ## How to find rotation angles between two vectors

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
5. ## Calculation the angle of the polygon

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
6. ## Use geometry curvature to increase emission

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
7. ## Calculate angles for each point of the geometry

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
×
• Donations