![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hello,
balls. With 'seed' and 'rand' i get the distribution of the balls i
like. But unfortunately, a lot of the balls intersect with another. Is
there an easy way (i know, what does easy mean?) to protect the balls of
collision with each other?
in advance and best wishes,
Robert
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> balls. With 'seed' and 'rand' i get the distribution of the balls i
> like. But unfortunately, a lot of the balls intersect with another.
I think the easier way is to calculate a new position for a given ball
until it intersects with no other ball, then add another one, etc.
Though, if you have many balls, this will be quite lengthy, so you may
prefer to generate a .pov file from a program writter in a faster
language like C.
--
JM
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>
> Hello,
> balls. With 'seed' and 'rand' i get the distribution of the balls i
> like. But unfortunately, a lot of the balls intersect with another. Is
> there an easy way (i know, what does easy mean?) to protect the balls of
> collision with each other?
>
> in advance and best wishes,
>
> Robert
There is a macro file available at this site "fill box with spheres"
that you may find informative -
http://www.geocities.com/SiliconValley/Way/2419/POVMacros.html
--
Ken Tyler
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
oops, sounds difficult to me.
Nevertheless, thanks for answering..
Robert
Jean-Michel Grimaldi schrieb:
> >
> > balls. With 'seed' and 'rand' i get the distribution of the balls i
> > like. But unfortunately, a lot of the balls intersect with another.
>
> I think the easier way is to calculate a new position for a given ball
> until it intersects with no other ball, then add another one, etc.
>
> Though, if you have many balls, this will be quite lengthy, so you may
> prefer to generate a .pov file from a program writter in a faster
> language like C.
>
> --
> JM
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Many thanks,
that's what i wanted. And now, a second object with a different shape combined
with the balls...
Thank you Ken
Robert
Ken schrieb:
> >
> > Hello,
> > balls. With 'seed' and 'rand' i get the distribution of the balls i
> > like. But unfortunately, a lot of the balls intersect with another. Is
> > there an easy way (i know, what does easy mean?) to protect the balls of
> > collision with each other?
> >
> > in advance and best wishes,
> >
> > Robert
>
> There is a macro file available at this site "fill box with spheres"
> that you may find informative -
>
> http://www.geocities.com/SiliconValley/Way/2419/POVMacros.html
>
> --
> Ken Tyler
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |