RickWork Posted March 5, 2006 Share Posted March 5, 2006 Hello, I have a point cloud of 5000 points. I want to randomly assign these points to 3 different groups but I don't want each group to have the same point? This is probably simple but I can't figure out how to do this procedurally? The point count is not set in stone as I will need to adjust it per scene file. Thanks! Quote Link to comment Share on other sites More sharing options...
Mcronin Posted March 5, 2006 Share Posted March 5, 2006 There's a bunch of ways you can do this using expressions, but most expressions you come up with are going to be somewhat ordered. So here's a suggestion that will create some pretty random goupings using a handful of SOPs... The key is to randomly sort the points before you start grouping them. If you need to have the original point order back for some reason you can transfer your groups back to the original geometry. randomgroups1.hip Quote Link to comment Share on other sites More sharing options...
RickWork Posted March 5, 2006 Author Share Posted March 5, 2006 There's a bunch of ways you can do this using expressions, but most expressions you come up with are going to be somewhat ordered. So here's a suggestion that will create some pretty random goupings using a handful of SOPs...The key is to randomly sort the points before you start grouping them. If you need to have the original point order back for some reason you can transfer your groups back to the original geometry. 25383[/snapback] That's it, I forgot about group by range! Thanks /Rick 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.