dpap Posted December 21, 2013 Share Posted December 21, 2013 Hi ! Is there a way to seperate this point cloud into 2 different groups? (one containing the points in green and one the points in orange) Thanks Group Not Connected Point Clouds Parts.hipnc Quote Link to comment Share on other sites More sharing options...
anim Posted December 22, 2013 Share Posted December 22, 2013 you can connect points by distance within some radius using attribwrangle and simple pointcloud loop with H13 new functions for geometry creation, you can either slightly alter Connect Adjacent Pieces SOP or just do very simple version (as in the included file) then just use Connectivity SOP and Partition SOP to get groups of connected point islands and Add SOP to keep just original points look at the file Group Not Connected Point Clouds Parts_fix.hipnc 2 Quote Link to comment Share on other sites More sharing options...
yesyes Posted December 22, 2013 Share Posted December 22, 2013 use bounding object and combine tab to get both groups 1 Quote Link to comment Share on other sites More sharing options...
edward Posted December 22, 2013 Share Posted December 22, 2013 Here's an example using what yesyes said and the new VFX hammer of choice, VDB. Group_Not_Connected_Point_Clouds_Parts_Using_VDB.hipnc 1 Quote Link to comment Share on other sites More sharing options...
dpap Posted December 22, 2013 Author Share Posted December 22, 2013 Thank you guys! Both methods are delicious! A little off topic: The "Connect points by distance" made me wonder if it's possible to to use it in order to create a triangulated mesh out of points like these.. Maybe if using "poly" instead of "polyline" and 3 points instead of 2, in the "addvertex" function.. If that is possible we clould say bye bye to the 2dtriangulate node which is slow and after using it you need to unflatten the mesh and delete some of the primitives (via measure sop)..... Quote Link to comment Share on other sites More sharing options...
anim Posted December 23, 2013 Share Posted December 23, 2013 well, connect_points_by_distance is just some simple node made of wrangle that I did just to literally connect closest points, it's like a simplification of Connect Adjecent Pieces, which uses wrangle nodes inside as well and since it connect points by simple lines, polyline will not make closed triangle just double line in this case and there is nothing preventing lines from crossing each other or creating messy connections which would result in incorrect topology etc. but anyway you are free to experiment or make your own node that may do something like you want 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.