akirasun Posted December 16, 2010 Share Posted December 16, 2010 Hi there , I have spent several days on a experimental project(for practicing). I attempted to do is , try to find a way that can fill & generate objects in a reference object(for instance inside a cube) without any penetration or any intersection with each other. I used a “iso offset node” and “scatter node” to achieve generation of random points in a cube , then sent all points to a ”VOPSOP node”. I concerned a algorithm for VOPSOP , see below for (i=0;i<pointCount;i++) { if i.color !=<<1,1,1>> { for (j=0;j<pointCount;j++) { if distance(i,j) < radius && (i != J) { j.color = <<1,1,1>> } } } } And here is my SOP Network and VOPSOP Network. Maybe I did completely wrong ,hope someone can point it out. Thanks in advence Volume_03.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.