Jump to content

Circle Normals


Recommended Posts

Hi amazing houdini people!

 

This is driving me insane, ive been using polyframe to add normal directions to points on a  curve when i scatter onto it. 

 

But when i use the same technique on a circle i always have to fuse points and then im left with this. 

 

Driving me insane, how do i fix the circle normals??

Capture.PNG

Edited by Neekozo
typos
Link to comment
Share on other sites

I have this often. It's usually point 0. In this scenario I'd probably set my normals relative to the circle's center (Polyframe Style set to Primitive Centroid), or "@N=getbbox_center(0)-@P;" in a wrangle. In looping but not circular geometry I manually set point 0's attributes in a wrangle (like averaging its neighbors attributes, or manually calculating the tangent from the geometry's last point). If that doesn't work I resample to a gazillion points and interpolate. If that's not an option I clip half the geometry off and mirror it. If that's not an option I delete my graph and abandon the project.

Hope you get a cleaner answer, I've been wondering whether there's an easy, universal solution.

Link to comment
Share on other sites

5 hours ago, srletak said:

@Neekozo just play with this :wub: 

KOntroltangentsrleMath.hipnc

You are a hero.

Hvala ti od srca!

6 hours ago, Dweeble said:

I have this often. It's usually point 0. In this scenario I'd probably set my normals relative to the circle's center (Polyframe Style set to Primitive Centroid), or "@N=getbbox_center(0)-@P;" in a wrangle. In looping but not circular geometry I manually set point 0's attributes in a wrangle (like averaging its neighbors attributes, or manually calculating the tangent from the geometry's last point). If that doesn't work I resample to a gazillion points and interpolate. If that's not an option I clip half the geometry off and mirror it. If that's not an option I delete my graph and abandon the project.

Hope you get a cleaner answer, I've been wondering whether there's an easy, universal solution.

Thanks for the heads up and info! Appreciate it alot!

Capture2.PNG

Edited by Neekozo
  • Like 1
Link to comment
Share on other sites

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...