Alexey Vanzhula Posted June 3, 2015 Share Posted June 3, 2015 Hi. I need to fix point positions procedurally like in this image: http://i.imgur.com/BJGvReX.png Any ideas? fix_pts.hipnc Quote Link to comment Share on other sites More sharing options...
SpencerL Posted June 4, 2015 Share Posted June 4, 2015 Hey, I did this using a point VOP where I found the 2 neighbor point positions, then did a mix between their two positions. The bias of the mix was based on the distance the original point is from the nearest neighbor. Hope this helps! Spencer fix_pts_Spencer.hipnc Quote Link to comment Share on other sites More sharing options...
Alexey Vanzhula Posted June 4, 2015 Author Share Posted June 4, 2015 (edited) Thanx. In your example result point is aproximation between neighbour0 and neighbour3. I need some sliding from neighbour N1 to N2, like in image: http://i.imgur.com/WpcUQi4.png I know how to build correct normals. But I dont understand how to calculate valid distance to move point. Edited June 4, 2015 by Alexey Vanzhula Quote Link to comment Share on other sites More sharing options...
SpencerL Posted June 5, 2015 Share Posted June 5, 2015 Subtract the P from the neighbor 1 P to get the direction to slide and add that back onto P...basically works like a peak SOP fix_pts_Spencer_v2.hipnc 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.