sipi Posted October 27, 2022 Share Posted October 27, 2022 Hey everyone, Is there a technique to prevent self intersection when you apply position noise on a geometry? Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted October 27, 2022 Share Posted October 27, 2022 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 3 Quote Link to comment Share on other sites More sharing options...
sipi Posted November 3, 2022 Author Share Posted November 3, 2022 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.