POV-Ray : Newsgroups : povray.advanced-users : Box filled with maximum numbers of spheres : Re: Box filled with maximum numbers of spheres Server Time
30 Jul 2024 10:14:48 EDT (-0400)
  Re: Box filled with maximum numbers of spheres  
From: Bob Hughes
Date: 23 Aug 1999 16:34:27
Message: <37c1b053@news.povray.org>
I believe that Suds does this same thing, less the macro part.
http://www.lcars.eu.org/r.jennings/winbat/povsud.zip
I'm not sure about this particular zip and location, the program is
for POV v2; and it was linked to via a Imagine users webpage for
converting from POV into that format. There may or may not be better
suited includes, macros, etc. of which I am unaware.

Bob

Paul Johnsson <pau### [at] hptscom> wrote in message
news: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.