Logo by Jimpan1973 - 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: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. September 19, 2020, 11:57:11 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 2 3 [4]   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: Jerusalem cube - can be made via KIFS?  (Read 6269 times)
0 Members and 1 Guest are viewing this topic.
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #45 on: December 08, 2012, 12:52:39 PM »

BTW!
the only way IMHO to have a correct DE is to go for (classic) IFS (and LRIFS) or a mix between KIFS and IFS. Obtaining the DE for IFS requires a priority queue. I have successfully adapted Hart's -IFS raytracing- method to return DE instead. My implementation is experimental and use a simple array as priority queue therefore it is slow.

Have you managed to get the Hart+DE method to work with non-affine transforms ?
Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
knighty
Fractal Iambus
***
Posts: 819


« Reply #46 on: December 08, 2012, 03:08:11 PM »

Not yet but I believe it's possible.

@M Benessi: See the attached fragmentarium script. afro

* JC-NonDE.frag (3.43 KB - downloaded 212 times.)
Logged
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #47 on: December 10, 2012, 07:47:04 AM »

  DOH!@!#!@$   

 Thanks Knighty.  cheesy   hahahhaa...  that cracked me up.  Still grinnin. 
Logged

DarkBeam
Global Moderator
Fractal Senior
******
Posts: 2512


Fragments of the fractal -like the tip of it


« Reply #48 on: December 10, 2012, 11:38:26 AM »

I modded your formula this way;

Code:
JC4(x,y,z,alpha,beta){
   t=beta-1;
   scl=(alpha+t);
   scl1=scl/alpha;
   a=1/scl1;
   r=x*x+y*y+z*z;dd=1;
   for(i=0;i<MI && r<100;i++){
      x=abs(x);y=abs(y);z=abs(z);
      if(x<y){t=x;x=y;y=t;}
      if(z<x){t=z;z=x;x=t;}
      if(x<y){t=x;x=y;y=t;}

      if(y<a && x>1-beta*a+y){
         x-=1;z-=1;
         x*=scl1;y*=scl1;z*=scl1;dd*=scl1;
         x+=1;z+=1;
      }else{
         x-=1;y-=1;z-=1;
         x*=scl;y*=scl;z*=scl;dd*=scl;
         x+=1;y+=1;z+=1;
      }
      r=x*x+y*y+z*z;
   }
   (sqrt(r)-1.75)/dd
}
It is nice but even more discontinue embarrass
Logged

No sweat, guardian of wisdom!
knighty
Fractal Iambus
***
Posts: 819


« Reply #49 on: December 10, 2012, 08:02:08 PM »

It is always difficult to get continuous DE when the transform contains 'if' statments (if not possible at all).  hurt
Logged
Pages: 1 2 3 [4]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Mandelbulber KIFS Trouble Help & Support crotafang 0 416 Last post September 07, 2010, 01:21:59 PM
by crotafang
tacitus.KIFS Images Showcase (Rate My Fractal) visual.bermarte 9 1942 Last post February 22, 2011, 12:54:06 AM
by visual.bermarte
inside a KIFS 3D Fractal Generation visual.bermarte 10 3349 Last post February 06, 2011, 11:44:23 PM
by kek
boolean logic meets kifs Images Showcase (Rate My Fractal) visual.bermarte 0 603 Last post October 27, 2010, 08:17:16 PM
by visual.bermarte
Jerusalem Cube City Center Mandelbulb3D Gallery KRAFTWERK 1 325 Last post March 18, 2014, 09:59:40 PM
by alij

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.127 seconds with 28 queries. (Pretty URLs adds 0.012s, 2q)