POV-Ray : Newsgroups : povray.binaries.images : Menger Sponge - Random Superellipsoids : Re: Menger Sponge - Random Superellipsoids Server Time
30 Jul 2024 12:30:28 EDT (-0400)
  Re: Menger Sponge - Random Superellipsoids  
From: Paul Fuller
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.