FOR THE COMPO READ THE RULES; ONLY UPLOADS TO THE RIGHT GALLERY SECTION MAY COMPETE!!!

News:
<- Like it? why not donate for continuity of this forum!
info about usage
 
*
Welcome, Guest. Please login or register., Guest. Please login or register. May 25, 2013, 02:08:14 AM


Login with username, password and session length



Pages: 1 [2]   Go Down
  Print  
Share this topic on Facebook
Author Topic: Revenge of the (half-eaten) menger sponge  (Read 17071 times)
Description: Depth 7 no less!
0 Members and 1 Guest are viewing this topic.
twinbee
Fractal Phenom
******
Posts: 383



WWW
« Reply #15 on: November 25, 2009, 11:44:58 AM »

Hi kram1032, I corrected the file names.

Buddhi, that's fantastic - looks so wooden and complex. Kind of structure/texture that could easily in the real world.
Logged
kram1032
Fractal Senior
******
Posts: 1328


« Reply #16 on: November 25, 2009, 10:01:47 PM »

ah, nice twinbee cheesy

Buddhi: Now I wonder about a castle-version of your Menger sphere smiley

Also twinbee: What about both a multiperspective (say, three points of infinity (PoI) for three axes) or an inverse perspective (PoI lies on the image plane) or maybe a "central" perspective (PoI in the center of the Menger-sponge...)

Afaik, a lot of paintings used that.

The PoI is the point, where all infinite straight lines meet due to perspective distortion.

Could give interesting twists on the shape smiley

Or, also possible maybe, what's about an hyperbolic Menger-sponge, where rather than 27 cubes form a bigger cube, say 84 do so... - I'm not sure right now how that looks like but my idea is, that more cubes can touch in hyperbolic space while still tesselating the plane. basically you could do the same as in euclidean, but instead of letting 1 corner of a cube letting touch 6 other cubes' corners, you could change that to a higher number...
(probably, though, the 2D-case should be done first, before investigating in the 3D-case...)

Oh, and something probably way simpler: Could you please upload pngs or something? especially the colourful castle suffers a lot from the jpeg-compression smiley
« Last Edit: November 25, 2009, 10:03:46 PM by kram1032 » Logged
JosLeys
Fractal Lover
**
Posts: 165


WWW
« Reply #17 on: November 25, 2009, 11:12:18 PM »

For an idea on what you would see if you are inside a 3D tiling of hyperbolic cubes, look here :
http://www.josleys.com/htmlgalleries/flash/Cube%20hyperbolique.html
Logged
jehovajah
Fractal Senior
******
Posts: 1274


May a trochoid in the void bring you peace


WWW
« Reply #18 on: November 26, 2009, 02:26:23 AM »

could rf used as a visualisation of structured space say in a crystal lattice, or a planetary/ gravitational / molecular system.
Logged

May a trochoid of ¥h¶h iteratively entrain your Logos Response transforming into iridescent fractals of orgasmic delight and joy, with kindness, peace and gratitude at all scales within your experience. I beg of you to enrich others as you have been enriched, in vorticose pulsations of extravagance!
Buddhi
Fractal Bachius
*
Posts: 505



WWW
« Reply #19 on: November 29, 2009, 07:03:48 PM »

I found incredible 1k intro on scene.org:
http://scene.org/file.php?file=/parties/2009/breakpoint09/in4k/tbc_-_untraceable_partyhack.zip&fileinfo

It consists real-time 3D sierpinski triangle, menger sponge and some other fractals (and nice music in background). Size of exe file is ONLY 1k!!!
Logged

twinbee
Fractal Phenom
******
Posts: 383



WWW
« Reply #20 on: January 04, 2010, 04:59:13 PM »

I don't know. I leave the Mandelbulb alone for 5 minutes, and look what it's gone and done to my precious Menger sponge!!  police Big 2500x2500 version available here:



For the curious, this is a simple boolean "AND" to the Menger sponge and Mandelbulb. In other words, each point has to be part of both sets for it to be part of the new hybrid set.

*****EDIT*****
kram1032, those perspective tricks sound good, and probably not too tricky to implement (I've sometimes thought about inverse perspective). I'll see what I can do.

Here's a full PNG of the earlier castle menger sponge btw:
http://www.skytopia.com/project/fractal/new/menger-persp2b.png
« Last Edit: January 04, 2010, 05:37:53 PM by twinbee » Logged
Buddhi
Fractal Bachius
*
Posts: 505



WWW
« Reply #21 on: January 04, 2010, 05:40:59 PM »

Fantastic idea and render!!! I think it is impossible to render this with DE :-)
Logged

kram1032
Fractal Senior
******
Posts: 1328


« Reply #22 on: January 04, 2010, 06:49:14 PM »

heh...

nice half-molten Menger smiley
It had some thermite for dinner, right?

Already curious about twisted perspectives smiley
Logged
knighty
Fractal Phenom
******
Posts: 453


« Reply #23 on: September 17, 2010, 09:28:14 PM »

Sorry for bumping this old thread. I'm working on aperiodic tilings thanks to tomkh's thread and just think it's related to this dicussion. My objective is to find DE estimate for aperiodic 3D tilings. On the way I remembred this thread and am having answers to a some questions:
Here are the DE for twinbee's Menger sponge and Buddhi's sphere sponge:
Code:
//Derived from twinbee's algorithm
MengerSponge3(x, y, z) {//by recursively digging a box
   x=x*0.5+0.5;y=y*0.5+0.5;z=z*0.5+0.5;//center it by changing position and scale
   
   xx=abs(x-0.5)-0.5;yy=abs(y-0.5)-0.5;zz=abs(z-0.5)-0.5;
   d1=max(xx,max(yy,zz));//distance to the box
   d=d1;//current computed distance
   p=1;
   for(m=1; m<MI ; m++) {

      xa = 3*x*p % 3;
      ya = 3*y*p % 3;
      za = 3*z*p % 3;
      p*=3;

      //we can also translate/rotate (xa,ya,za) without affecting the DE estimate

      xx=0.5-abs(xa-1.5);yy=0.5-abs(ya-1.5);zz=0.5-abs(za-1.5);
      d1=min(max(xx,zz),min(max(xx,yy),max(yy,zz)))/p;//distance inside the 3 axis aligned square tubes
     
      d=max(d,d1);//intersection
   }
   return d*2; //the distance estimate. The "*2" is because of the scaling we did at the begining of the function
}
Code:
//derived from Buddhi's algorithm
SphereSponge3(x, y, z) {//by recursively digging space
   //Same as for the Menger sponge but with spheres
   x+=1;y+=1;z+=1;
   intrad=param1;
   scl=3;mod=4;
   a=x;b=y;c=z;k=2;
   d=-100;
   for (L = 0; L < MI ; L++)
   {
     xx = a * k % mod - 0.5*mod;
     yy = b * k % mod - 0.5*mod;
     zz = c * k % mod - 0.5*mod;
     r2=xx*xx + yy*yy + zz*zz;
     d1=(intrad-sqrt(r2))/k;//distance to the edge of the sphere (positive inside)
     d=max(d,d1);//intersect
     
     k *= scl;
   }
   return d;// distance estimate
}
(needs some optimizations embarrass but it is already quite fast afro)
It's possible to use the same technique to other figures (fractals and tilings).

Fantastic idea and render!!! I think it is impossible to render this with DE :-)
It's actually possible (and well known): the intersection is obtained by taking the maximum DE of the two objects. That's what I am using in the codes above. union can also be obtained by taking the minimum DE instead.

BTW: There is another well known trick In distance fied rendering: Blending. Just take a linear (or higher order) interpolation of the DE of the two objects.
Logged
visual.bermarte
Fractal Fanatic
****
Posts: 265


« Reply #24 on: October 23, 2010, 04:24:31 PM »

min(DEbox,DEbulb)TEST:


Logged
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
A Menger Sponge Images Showcase (Rate My Fractal) David Makin 5 2170 Last post April 02, 2007, 03:16:32 AM
by bradorpoints
Menger sponge fly-through 3D Fractal Generation twinbee 10 2797 Last post February 16, 2009, 05:43:21 AM
by twinbee
3D menger sponge fly through Movies Showcase (Rate My Movie) DonWebber 0 765 Last post September 14, 2010, 01:01:18 AM
by DonWebber
Artist creates GIANT real world menger sponge Art Discussions cbuchner1 0 1516 Last post October 21, 2011, 10:23:46 PM
by cbuchner1
Distance Estimated Menger Sponge Normal Calculation Programming « 1 2 » Geometrian 27 692 Last post April 18, 2013, 11:54:08 AM
by kram1032

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.291 seconds with 27 queries. (Pretty URLs adds 0.018s, 2q)