POV-Ray : Newsgroups : povray.binaries.images : Menger Sponge - Random Superellipsoids Server Time
2 Nov 2024 04:23:17 EDT (-0400)
  Menger Sponge - Random Superellipsoids (Message 1 to 4 of 4)  
From: Paul Fuller
Subject: Menger Sponge - Random Superellipsoids
Date: 11 Nov 2011 22:06:30
Message: <4ebde2b6@news.povray.org>
Given the other recent posts on Menger Sponge renders, here is something 
very basic I did back in 2003.


Post a reply to this message


Attachments:
Download 'menger sponge 3.png' (580 KB)

Preview of image 'menger sponge 3.png'
menger sponge 3.png


 

From: Christian Froeschlin
Subject: Re: Menger Sponge - Random Superellipsoids
Date: 11 Nov 2011 22:43:45
Message: <4ebdeb71@news.povray.org>
Very colorful but neat. Looks like a christmas tree ornament ;)


Post a reply to this message

From: [GDS|Entropy]
Subject: Re: Menger Sponge - Random Superellipsoids
Date: 14 Nov 2011 06:55:01
Message: <web.4ec100d492403ddbc1db4890@news.povray.org>
Paul Fuller <pgf### [at] optusnetcomau> wrote:
> Given the other recent posts on Menger Sponge renders, here is something
> very basic I did back in 2003.

Thats very cool! I absolutely love things like that.
It kindof reminds me of the TreepMap control on CodeProject.

Would you mind posting the source?

Thanks!
Ian


Post a reply to this message

From: Paul Fuller
Subject: Re: Menger Sponge - Random Superellipsoids
Date: 14 Nov 2011 09:34:38
Message: <4ec126fe$1@news.povray.org>
On 14/11/2011 10:51 PM, [GDS|Entropy] wrote:
> Thats very cool! I absolutely love things like that.
> It kindof reminds me of the TreepMap control on CodeProject.
>
> Would you mind posting the source?
>
> Thanks!
> Ian
>

Thanks.  As with all such things it went through many iterations and I 
don't have the exact code that produced this image.  Plus it was pre 
V3.7 so there'll be some changes.  I do have what it morphed into and 
will look at cleaning that up and reversing it to the same point or 
something similar.

It was pretty simple.  Just randomly deciding at each level for each 
recursion whether to put in a simple superellipsoid or to subdivide 
further.  The rest is producing some pretty metallic textures which was 
based on code pinched from a guy called Alex who I haven't seen post 
here in a while.

I'll have a look at it next bit of free time.


Post a reply to this message

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