Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: alexl on January 09, 2014, 06:52:17 PM




Title: Windows
Post by: alexl on January 09, 2014, 06:52:17 PM
Windows

(http://nocache-nocookies.digitalgott.com/gallery/15/4842_09_01_14_6_52_17.jpeg)

http://www.fractalforums.com/index.php?action=gallery;sa=view;id=15406

Formula:

void AmazingOct(inout dvec4 p, float scale, float Fold, float m2, inout double rr)
{
   Menger(p, 2.0, vec3(1.0,0.5,0.5));
   rr = dot(p.xyz, p.xyz);
   if (rr<double(m2))
   {
      p = p / double(m2);
   }
   else
   {
      if (rr<1.0)
         p = p / rr;
   }
   p *= double(scale);
}

double DE(dvec3 p)
{
   double rr = 1.0;
   for (int i = 0; i < 30; i++)
   {
      AmazingOct(p, 0.8, 1.0, 0.0, rr);
      if (rr>1000.0)
         break;
   }
   return 0.35*length(p.xyz) / p.w;
}


Title: Re: Windows
Post by: cKleinhuis on January 09, 2014, 07:28:05 PM
amazing work, clockwork blue ;)


Title: Re: Windows
Post by: Dinkydau on January 12, 2014, 03:07:07 AM
Cool