|
|
Paul Johnsson wrote:
>
> Hello, I have an intresting problem:
>
> Consider this: Take a box with a specified height, with and depth. I
> would like to place a number of spheres with a specific radius in this
> box.
>
> The problem is how to place the spheres in the box to get the maximum
> numbers of spheres that can fit in the box. I think that this is not a
> trivial problem, but is there a complete analytic solution at all (using
> with, height, depth and radius as parameters)?
>
> I had the idea of creating a macro with "height, with, depth, radius" as
> input and get the locations of the spheres as output...
>
> Any ideas?
There are some volume filling macros at twysts site:
http://macroscope.twysted.net/
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|