Rotate Normals 90 degrees

   10711   1   1
User Avatar
Member
26 posts
Joined: Sept. 2010
Offline
Hello!

How would you check which points are on a straight edge, and then rotate them 90 degrees?

I know how to check if a point is on a straight edge, but I don't know how to rotate the normals to be perpendicular to the edge they're on…

Any ideas that might involve the VOP?


Illustration [img29.imageshack.us]

The steps I have taken:

1. Point normals to next point.

2. Calculate the dot product of the current point normal and the next.

3. Calculate the dot product of the current point normal and the previous.
User Avatar
Member
390 posts
Joined: Jan. 2012
Offline
you can rotate the normals using a polyframe sop, and setting the tangent to N

if you want to do it in vops you can set the normal to the crossproduct of the normal and any other vector.
.
  • Quick Links