Formel:
<p>void Menger4dMod1Iteration(CVector4 &amp;z, const sFractal *fractal, sExtendedAux &amp;aux)
{
</p>
<pre> double paraAddP0 = 0.0;
 if (fractal-&gt;Cpara.enabledParabFalse)
 { // parabolic = paraOffset + iter *slope + (iter *iter *scale)
   paraAddP0 = fractal-&gt;Cpara.parabOffset0 + (aux.i * fractal-&gt;Cpara.parabSlope)
               + (aux.i * aux.i * 0.001 * fractal-&gt;Cpara.parabScale);
   z.w += paraAddP0;
 }
</pre>
<pre> if (aux.i &gt;= fractal-&gt;transformCommon.startIterationsC
     &amp;&amp; aux.i &lt; fractal-&gt;transformCommon.stopIterationsC)
 {
   z += fractal-&gt;transformCommon.additionConstant0000; // offset
 }
</pre>
<pre> z = fabs(z);
 if (z.x - z.y &lt; 0.0) swap(z.y, z.x);
 if (z.x - z.z &lt; 0.0) swap(z.z, z.x);
 if (z.y - z.z &lt; 0.0) swap(z.z, z.y);
 if (z.x - z.w &lt; 0.0) swap(z.w, z.x);
 if (z.y - z.w &lt; 0.0) swap(z.w, z.y);
 if (z.z - z.w &lt; 0.0) swap(z.w, z.z);
</pre>
<pre> // 6 plane rotation
 if (fractal-&gt;transformCommon.functionEnabledRFalse
     &amp;&amp; aux.i &gt;= fractal-&gt;transformCommon.startIterationsR
     &amp;&amp; aux.i &lt; fractal-&gt;transformCommon.stopIterationsR)
 {
   CVector4 tp;
   if (fractal-&gt;transformCommon.rotation44a.x != 0)
   {
     tp = z;
     double alpha = fractal-&gt;transformCommon.rotation44a.x * M_PI_180;
     z.x = tp.x * cos(alpha) + tp.y * sin(alpha);
     z.y = tp.x * -sin(alpha) + tp.y * cos(alpha);
   }
   if (fractal-&gt;transformCommon.rotation44a.y != 0)
   {
     tp = z;
     double beta = fractal-&gt;transformCommon.rotation44a.y * M_PI_180;
     z.y = tp.y * cos(beta) + tp.z * sin(beta);
     z.z = tp.y * -sin(beta) + tp.z * cos(beta);
   }
   if (fractal-&gt;transformCommon.rotation44a.z != 0)
   {
     tp = z;
     double gamma = fractal-&gt;transformCommon.rotation44a.z * M_PI_180;
     z.x = tp.x * cos(gamma) + tp.z * sin(gamma);
     z.z = tp.x * -sin(gamma) + tp.z * cos(gamma);
   }
   if (fractal-&gt;transformCommon.rotation44b.x != 0)
   {
     tp = z;
     double delta = fractal-&gt;transformCommon.rotation44b.x * M_PI_180;
     z.x = tp.x * cos(delta) + tp.w * sin(delta);
     z.w = tp.x * -sin(delta) + tp.w * cos(delta);
   }
   if (fractal-&gt;transformCommon.rotation44b.y != 0)
   {
     tp = z;
     double epsilon = fractal-&gt;transformCommon.rotation44b.y * M_PI_180;
     z.y = tp.y * cos(epsilon) + tp.w * sin(epsilon);
     z.w = tp.y * -sin(epsilon) + tp.w * cos(epsilon);
   }
   if (fractal-&gt;transformCommon.rotation44b.z != 0)
   {
     tp = z;
     double zeta = fractal-&gt;transformCommon.rotation44b.z * M_PI_180;
     z.z = tp.z * cos(zeta) + tp.w * sin(zeta);
     z.w = tp.z * -sin(zeta) + tp.w * cos(zeta);
   }
 }
 double scaleM = fractal-&gt;transformCommon.scale3;
 CVector4 offsetM = fractal-&gt;transformCommon.additionConstant111d5;
 z.x = scaleM * z.x - offsetM.x;
 z.y = scaleM * z.y - offsetM.y;
 z.w = scaleM * z.w - offsetM.w;
 if (fractal-&gt;transformCommon.functionEnabledz
     &amp;&amp; aux.i &gt;= fractal-&gt;transformCommon.startIterationsM
     &amp;&amp; aux.i &lt; fractal-&gt;transformCommon.stopIterationsM)
 {
   z.z -= 0.5 * offsetM.z / scaleM;
   z.z = -fabs(-z.z);
   z.z += 0.5 * offsetM.z / scaleM;
 }
 else
 {
   z.w = scaleM * z.w - offsetM.w;
 }
 z.z *= scaleM;
 aux.DE *= scaleM;
</pre>
<pre> if (fractal-&gt;transformCommon.functionEnabledSFalse
     &amp;&amp; aux.i &gt;= fractal-&gt;transformCommon.startIterationsS
     &amp;&amp; aux.i &lt; fractal-&gt;transformCommon.stopIterationsS)
 {
   double r2 = 0.;
   if (fractal-&gt;transformCommon.functionEnabledBxFalse)
   {
     r2 = z.x * z.x + z.y * z.y;
   }
   if (fractal-&gt;transformCommon.functionEnabledByFalse)
   {
     r2 = z.x * z.x + z.y * z.y + z.z * z.z;
   }
   if (fractal-&gt;transformCommon.functionEnabledBz)
   //{  r2 = z.Dot(z) ;}
   {
     r2 = z.x * z.x + z.y * z.y + z.z * z.z + z.w * z.w;
   }
   // if (r2 &lt; 1e-21 &amp;&amp; r2 &gt; -1e-21) r2 = (r2 &gt; 0) ? 1e-21 : -1e-21;
</pre>
<pre>   if (r2 &lt; fractal-&gt;transformCommon.minR2p25)
   {
     z *= fractal-&gt;transformCommon.maxMinR2factor;
     aux.DE *= fractal-&gt;transformCommon.maxMinR2factor;
     aux.color += fractal-&gt;mandelbox.color.factorSp1;
   }
   else if (r2 &lt; fractal-&gt;transformCommon.maxR2d1)
   {
     double tglad_factor2 = fractal-&gt;transformCommon.maxR2d1 / r2;
     z *= tglad_factor2;
     aux.DE *= tglad_factor2;
     aux.color += fractal-&gt;mandelbox.color.factorSp2;
   }
 }
</pre>
<pre> if (fractal-&gt;transformCommon.functionEnabledFalse)
 {
   CVector4 zA4 = (aux.i == fractal-&gt;transformCommon.intA) ? z : CVector4();
   CVector4 zB4 = (aux.i == fractal-&gt;transformCommon.intB) ? z : CVector4();
</pre>
<pre>   z = (z * fractal-&gt;transformCommon.scale) + (zA4 * fractal-&gt;transformCommon.offset)
       + (zB4 * fractal-&gt;transformCommon.offset0);
   aux.DE *= fractal-&gt;transformCommon.scale1;
 }
</pre>
<pre> aux.DE *= fractal-&gt;analyticDE.scale1;
</pre>
<p>}
</p><p>Veränderte Parameter:
</p>
<ol><li>Mandelbulber settings file</li>
<li>version 2.18</li>
<li>only modified parameters</li></ol><p>[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_3_colors_enable false;
background_color_1 0000 0000 0000;
camera 0 0 0;
camera_distance_to_target 0;
camera_rotation 0 0 -90;
camera_top -1 0 6,123233995736766e-17;
DE_factor 0,5;
file_background C:\Users\&lt;Username&gt;\Downloads\mandelbulber2-win64-2.16-standalone\mandelbulber2-win64-2.16-standalone\textures\background.jpg;
file_envmap C:\Users\&lt;Username&gt;\Downloads\mandelbulber2-win64-2.16-standalone\mandelbulber2-win64-2.16-standalone\textures\envmap.jpg;
file_lightmap C:\Users\&lt;Username&gt;\Downloads\mandelbulber2-win64-2.16-standalone\mandelbulber2-win64-2.16-standalone\textures\lightmap.jpg;
flight_last_to_render 0;
formula_1 112;
hdr true;
image_height 18750;
image_proportion 6;
image_width 37500;
initial_waxis 0,2;
keyframe_last_to_render 0;
mat1_coloring_random_seed 942630;
mat1_coloring_saturation 10;
mat1_is_defined true;
mat1_surface_color_palette 00ffff dcff00 000000 ff00ff 00ffff 0000ff ff0000 ffff00 00ff00 ff00ff;
perspective_type equirectangular;
raytraced_reflections true;
repeat 1 1 1;
</p>
view_distance_max 765,685424949238;
<a href="//commons.wikimedia.org/wiki/User:PantheraLeo1359531" title="User:PantheraLeo1359531">PantheraLeo1359531</a>
CC BY-SA 4.0
<span class="int-own-work" lang="en">Own work</span>