|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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/
Post a reply to this message
Attachments:
Download 'kubes.jpg' (41 KB)
Preview of image 'kubes.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Looks good...
but whats the volume of the outer cube and the volume of all the stacked
cubes?
(not that i dont believe none intersect!!!)
Rick
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yeah, I'd like to know this as well...it looks pretty amazing. Good job.
Source?
-Chris-
Paul <pdj### [at] psuedu> wrote in message news:392D1C17.20126E28@psu.edu...
> How do you do the intersection test??
>
> -paul
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Source will be in p.b.s-f as soon as I clean it up a little. I know it looks
like some intersect, but I am positive it's just an illusion. (I ran a (really
slow *cough cough*) render with every cube intersected once with every other
cube (for a total of n(n-1) intersections, so within a smaller bounding cube)
and nothing showed up.)
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Rick [Kitty5]" wrote:
> Looks good...
>
> but whats the volume of the outer cube and the volume of all the stacked
> cubes?
>
> (not that i dont believe none intersect!!!)
mumble mumble, I'd have to add some code and wait for it to reparse...
mumble grumble
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Radians vs. Degrees. Agh! So maybe some of them do intersect. Fixed it now.
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Serge LAROCQUE wrote:
> Are you absolutely sure that none of the cubes intersects with another? :-))
No :-(
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://www.faricy.net/~davidf/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This would be a good way to create an astroide feild for a space scene.
Ken Matassa
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |