Jump to content

radiating normals for curve having concave and convex shape


Recommended Posts

hello everyone

can someone be so kind to help me with this, i want the normals for the curve on right "U" to be radiating out... (the @P = @N; worked for the "O" which is a circle however it didn't work for something like "U") as in the redlines in the attached image.

thanks

m.


 

normals1.png

Link to comment
Share on other sites

13 minutes ago, demoan666 said:

hi AntoineSfx,

 

thanks a ton for the reply, unfortunately that returned with the normals pointing in "y" direction i want them to spread out in "xz" direction.

 

m. 

 

PS: unless of course i missed something.

Clipboard01.jpg

Can you provide the hip file ?

 

Also, be aware that the vector you're looking for , after the wrangle I provide, is @tangentv, not @N.

Edited by AntoineSfx
Link to comment
Share on other sites

21 hours ago, demoan666 said:

ofcourse! 

 

NB: it's not the cleanest of files, as i was trying whatever i could.

font1.hiplc

enable [x] tangent Attribute   tangentu in node "resample2"

You can store the cross product in @N if you want, but by doing @N / @tangentu / @tangentv , you have a normal, orthogonal frame for each point, which is a strong foundation for anything downstream IMO.

Also see polyframe, which generates N, tangentu and tangentv. No need to do cross products by yourself

 

unormal.png

Edited by AntoineSfx
  • Like 2
Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...