POV-Ray : Newsgroups : povray.advanced-users : Box filled with maximum numbers of spheres : Box filled with maximum numbers of spheres Server Time
30 Jul 2024 10:12:07 EDT (-0400)
  Box filled with maximum numbers of spheres  
From: Paul Johnsson
Date: 23 Aug 1999 13:13:47
Message: <37C181CF.D0580FDC@hpts.com>
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?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.