POV-Ray : Newsgroups : povray.binaries.images : Randomly packed cubes (40k) : Re: Randomly packed cubes (40k) Server Time
2 Oct 2024 06:23:59 EDT (-0400)
  Re: Randomly packed cubes (40k)  
From: Peter Cracknell
Date: 25 May 2000 14:03:39
Message: <392d6afb@news.povray.org>
Yeah could you possibly explain how this was done, I wouldn't mind working
on this style, as I'm a fan of the while style macros, is it realted to
trace (I've never used it though)?  Thanks

Pete

Paul <pdj### [at] psuedu> wrote in message news:392D1C17.20126E28@psu.edu...
> How do you do the intersection test??
>
> -paul
>
> David Fontaine wrote:
>
> > Okay, here's 450 cubes packed into a cubical area. Each time a cube is
> > generated it is checked for intersection with other cubes. Every
> > consecutive time a cube is found to intersect the failure rate is
> > incremented, if it reaches a threshold the algorithm assumes the space
> > is full (in this case 30).
> >
> > Each cube has a random:
> > size (0.2-1, evenly distributed),
> > rotation (evenly distributed),
> > HLS color (hue 120-270, evenly distributed,
> >    lightness .25-.75, sinusoidal distribution favoring middle values,
> >    saturation .5-1, quadratic distribution favoring higher values),
> > surface normal (part crackle, bumps, wrinkles, even distribution)
> >
> > parse 6m34s render 1m12s total 7m46s
> > total mem 3,307,666 bytes
> >
> > --
> > David Fontaine     <dav### [at] faricynet>     ICQ 55354965
> > Please visit my website: http://www.faricy.net/~davidf/
> >
>
  ------------------------------------------------------------------------
> >  [Image]
>


Post a reply to this message

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