anbt Posted February 2, 2021 Share Posted February 2, 2021 I am trying to displace the mesh of a cloth along its normals with a PeakSOP but as there are a lot of wrinkles, it doesn't work as intended. Any idea how I can achieve the example bottom right?! cheers Quote Link to comment Share on other sites More sharing options...
ftaswin Posted February 3, 2021 Share Posted February 3, 2021 You can filter and "smooth" the direction(N) you use to "peak" your surface. pcopen-pcfilter will do that just fine. in vex: int handle = pcopen(0, "P", @P, ch("radius"), chi("max_points")); @P = pcfilter(handle,"P"); You can do similar in Vop too. 1 Quote Link to comment Share on other sites More sharing options...
nicolas.schlafer Posted February 3, 2021 Share Posted February 3, 2021 There is a nice method using a ray SOP to detect and avoid intersections too, it's explained in this tutorial: 2 Quote Link to comment Share on other sites More sharing options...
anbt Posted February 3, 2021 Author Share Posted February 3, 2021 great thank you guys 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.