Wasn't it marabou who wrote:
>
>where lies the secret of the non-intersectional balls? in the
>trace()-function? is there a way for this in v3.1?
In 3.1 you just keep an array of the positions of the balls (and an
array of their sizes if different). Each time you try to add a sphere at
a random position, you check to ensure that vlength(newposition-
oldposition) is less than the sum of the two radii for each of the
existing spheres.
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|