Adjusting Normal Direction [Solved]

   11610   2   1
User Avatar
Member
9 posts
Joined: Jan. 2017
Offline
Hello friends,

I am curious how to change the angle of the normals on a circle. I am applying noise to them and want the noise to push outward along the normal direction. If you look at my image this works but the normals are facing inward. I am also wondering why it work. I do not understand.



Thanks Houdiners!
Edited by cglard - Aug. 9, 2018 21:41:58

Attachments:
1.PNG (168.0 KB)

User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Polyframe node is a little mystery to me too
You can use the facet node and toggle invert normal.

or in a wrangle @N = -@N;

If you want to stick to the wrangle, you can calculate the normals with the following code:

@N = normalize(@P - center); // center in your case is 0. The normalize function helps you to have a unit vector in case you circle has radius different than 1.
User Avatar
Member
9 posts
Joined: Jan. 2017
Offline
Andr
nter in your case is 0. The normalize function helps you to have a unit vector in case you circle has radius different than 1.

Thank you so much for the response Andr. That work perfectly. I also just tried @N = @P; and that works as well. What exactly is it doing? The normals of the object are being set to the point dir?
  • Quick Links