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:18:01 EDT (-0400)
  Re: Box filled with maximum numbers of spheres  
From: Ken
Date: 23 Aug 1999 17:43:14
Message: <37C1C044.D471BC5@pacbell.net>
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

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