POV-Ray : Newsgroups : povray.binaries.images : Randomly packed cubes (40k) Server Time
2 Oct 2024 10:21:43 EDT (-0400)
  Randomly packed cubes (40k) (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Chris S 
Subject: Re: Randomly packed cubes (40k)
Date: 25 May 2000 16:55:59
Message: <392d935f@news.povray.org>
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

From: David Fontaine
Subject: Re: Randomly packed cubes (40k)
Date: 25 May 2000 18:12:42
Message: <392DA473.C442E6A9@faricy.net>
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

From: David Fontaine
Subject: Re: Randomly packed cubes (40k)
Date: 25 May 2000 18:13:42
Message: <392DA4AF.DFF4C9C1@faricy.net>
"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

From: David Fontaine
Subject: No! Bug!
Date: 25 May 2000 18:35:28
Message: <392DA9C9.7D0692AF@faricy.net>
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

From: David Fontaine
Subject: Re: Randomly packed cubes (40k)
Date: 25 May 2000 18:49:57
Message: <392DAD2F.5522973E@faricy.net>
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

From: Ken Matassa
Subject: Re: Randomly packed cubes (40k)
Date: 26 May 2000 00:24:22
Message: <392DF3DF.7D06@pacbell.net>
This would be a good way to create an astroide feild for a space scene.

Ken Matassa


Post a reply to this message

From: ryan constantine
Subject: Re: Randomly packed cubes (40k)
Date: 26 May 2000 02:35:53
Message: <392E1C25.2C0D8B9D@yahoo.com>
didn't someone make an explosion inc file where a solid object was
separated into parts as if it was exploding?  your pic looks like it was
all one multicolored cube that exploded.  could your code be used for
explosions somehow?  anyhow, nice pic.

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

From: Bob Hughes
Subject: Re: Randomly packed cubes (40k)
Date: 26 May 2000 04:16:12
Message: <392e32cc@news.povray.org>
"ryan constantine" <rco### [at] yahoocom> wrote in message
news:392E1C25.2C0D8B9D@yahoo.com...
| didn't someone make an explosion inc file where a solid object was
| separated into parts as if it was exploding?

"someone"?  Watch for your rejection notice from the Chris Colefax Fanclub.
:-)

Bob


Post a reply to this message

From: ryan constantine
Subject: Re: Randomly packed cubes (40k)
Date: 27 May 2000 01:08:05
Message: <392F5908.FD0CA1D4@yahoo.com>
i should have known! forgive me chris! it won't happen again!

Bob Hughes wrote:
> 
> "ryan constantine" <rco### [at] yahoocom> wrote in message
> news:392E1C25.2C0D8B9D@yahoo.com...
> | didn't someone make an explosion inc file where a solid object was
> | separated into parts as if it was exploding?
> 
> "someone"?  Watch for your rejection notice from the Chris Colefax Fanclub.
> :-)
> 
> Bob


Post a reply to this message

From: Lewis
Subject: Re: Randomly packed cubes (40k)
Date: 27 May 2000 16:13:50
Message: <39303A11.B93F0F3B@netvision.net.il>
Bow make an animation of the camera going through the cubes without
hitting any of them (make a macro that moves the camera forward and
checks every little step which way to go).

It sounds pretty hard, tho...

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

<<< Previous 4 Messages Goto Initial 10 Messages

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