Jump to content

Recommended Posts

Hey everyone,

Is there a technique to prevent self intersection when you apply position noise on a geometry?

image.thumb.png.9e0857c56b36f24211df4c118680badf.png

Share this post


Link to post
Share on other sites

Hi,

you can try to use a feedback loop (or solver) and apply mountain sop several times with a fixed normal and check each time, if a point intersects with the old geometry. For example take all neighbours, and check if at least one direction to a neighbours intersect with the old geometry. If this is the case, restore the old position of the point. This will probably not work for every case but should be better than nothing and there is room for improvement

Here is an example

avoid_self_intersect.hipnc

  • Like 2

Share this post


Link to post
Share on other sites
On 10/27/2022 at 7:54 PM, Aizatulin said:

Hi,

you can try to use a feedback loop (or solver) and apply mountain sop several times with a fixed normal and check each time, if a point intersects with the old geometry. For example take all neighbours, and check if at least one direction to a neighbours intersect with the old geometry. If this is the case, restore the old position of the point. This will probably not work for every case but should be better than nothing and there is room for improvement

Here is an example

avoid_self_intersect.hipnc

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×