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