Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: alexl on April 11, 2014, 10:49:04 PM




Title: Landscape
Post by: alexl on April 11, 2014, 10:49:04 PM
Landscape

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

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

Formula:
DE(dvec3 pos)
{
   dvec4 p = dvec4(pos.xzy, 1.0);
   double rr;
   for (int i = 0; i<2; i++)
   {
      AmazingBox(p, 0.21, 0.46, 0.0, rr);
      AmazingBox(p, 0.531420, 0.762004, 0.293319, rr);
      AmazingSurf(p, 0.2, 0.33, 0.0, rr);
      AmazingBox(p, 0.35, 2.0*0.67, 0.0, rr);
      AmazingSurf(p, 0.31, 0.5, 0.31, rr);
      p.xy += vec2(0.5, -0.5);
      AmazingSurf(p, 0.128, 0.153, 0.5, rr);

      if (i<2)
      {
         OctahedronIFS(p, 0.48, vec3(1.0, 0.0, 0.0));
      }

   }
   return 0.3*abs(p.z + 0.002) / p.w;
}