Logo by yv3 - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. April 25, 2024, 06:34:43 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Folding Menger  (Read 1025 times)
Description: ICU
0 Members and 1 Guest are viewing this topic.
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« on: December 04, 2016, 01:42:26 AM »

Every once in a while I render something with Fragmentarium that makes me do a double take...

Origin: Knighty's Menger-Sphere.frag, Darkbeam's folding routine, Roquen's domain mashup

* MengerFolds_Files.zip (223.06 KB - downloaded 86 times.)
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Sabine
Fractal Fertilizer
*****
Posts: 373



WWW
« Reply #1 on: December 04, 2016, 12:15:21 PM »

Interesting combination, great results!
I'll have a closer look at your .frag, looks like great fun to explore, especially Roquen's domain mashup, completely new to me!
Logged

sabine62.deviantart.com
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #2 on: December 04, 2016, 01:31:33 PM »

Excuse me what is my folding routine? snore embarrass
Logged

No sweat, guardian of wisdom!
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #3 on: December 04, 2016, 05:23:06 PM »

from the fragment code attached to first post...
Code:
//DarkBeam's "fold"... reinterpreted... it's more than a fold, much more! Just awesome!
float DBFold(vec3 p, float fo, float g){
if(p.z>p.y) p.yz=p.zy;//Diagonal fold
//Tis is slightly different from the original fold in order to make it continuous in this context
float vx=p.x-2.*fo;
float vy=p.y-4.*fo;
  float v=max(abs(vx+fo)-fo,vy);
float v1=max(vx-g,p.y);
v=min(v,v1);
return min(v,p.x);
}
//the coordinates are pushed/pulled in parallel
vec3 DBFoldParallel(vec3 p, vec3 fo, vec3 g){
vec3 p1=p;
p.x=DBFold(p1,fo.x,g.x);
p.y=DBFold(p1.yzx,fo.y,g.y);
p.z=DBFold(p1.zxy,fo.z,g.z);
return p;
}
//serial version
vec3 DBFoldSerial(vec3 p, vec3 fo, vec3 g){
p.x=DBFold(p,fo.x,g.x);
p.y=DBFold(p.yzx,fo.y,g.y);
p.z=DBFold(p.zxy,fo.z,g.z);
return p;
}

more folding from 2013 sphereFold boxFold mengerFold octo?
    http://www.fractalforums.com/animations-showcase-(rate-my-short-animation)/the-art-of-folding-t18074/
    fragment attached @ the above animation link

« Last Edit: December 04, 2016, 05:38:55 PM by 3dickulus, Reason: links » Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #4 on: December 04, 2016, 09:32:31 PM »

jff, this is a montage of the other presets in the fragment attached to first post...


* MF-thumbs.jpg (239.5 KB, 800x672 - viewed 124 times.)
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #5 on: December 04, 2016, 10:47:46 PM »

Now I remember thanks smiley
Logged

No sweat, guardian of wisdom!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Internal Folding Images Showcase (Rate My Fractal) Power 8 1 1510 Last post May 19, 2010, 08:36:08 AM
by KRAFTWERK
Folding Menger Towers Mandelbulb3D Gallery MarkJayBee 0 478 Last post January 31, 2011, 07:42:59 PM
by MarkJayBee
Folding Mandelbulb3D Gallery SteveJP 0 621 Last post April 05, 2011, 08:33:22 PM
by SteveJP
The Art of Folding Fragmentarium Gallery 3dickulus 0 690 Last post December 28, 2013, 02:18:22 PM
by 3dickulus
The Art of Folding Animations Showcase (Rate My short Animation) 3dickulus 2 1674 Last post December 29, 2013, 05:29:22 PM
by 3dickulus

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

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