News: Support us via Flattr FLATTR Link

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

 Pages: [1] 2   Go Down
 Author Topic: Mandelbulber V2.05 extended formulas EXAMPLES  (Read 4920 times) Description: 0 Members and 1 Guest are viewing this topic.
mclarekin
Fractal Senior

Posts: 1739

 « on: September 11, 2015, 01:06:54 AM »

This example manipulates a pwr 5 mandelbulb by inclusion of:

-  boxfold1, used at a pre-mainFormula tweak,  late started at iteration 1 to reduce it's influence,

-  fab() functions,   note: fabsFormulaABCD1_old_weight 0.21,  to reduce influence of this parameter group.

- mixture of additionConstant2 (note julia parameters are additionConstants, z = z + constant) and constantMultiplier2, z = z + ( c * constant). (A lot of my exploring with Mandelbulber  V1.21 OpenCL custom formulas, has been done using these constants placed both before and after the mainFormula)

Quote
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_mode 1;
background_color_1 0 9500 ff00;
background_color_2 0 9500 ff00;
background_color_3 0 9500 ff00;
camera -0.0343819449312204 10.46360995121922 3.874903025064025;
camera_distance_to_target 11.99999999999998;
camera_rotation -179.8555263991149 -8.932180121045981 0.01942398940428594;
camera_top 5.249561559626798e-05 -0.1552656009143082 0.9878727602363218;
coloring_palette_offset 194.62;
coloring_palette_size 255;
coloring_random_seed 210396;
coloring_speed 0.01;
DE_factor 0.3;
flight_last_to_render 0;
formula_1 52;
image_height 800;
image_width 600;
keyframe_last_to_render 0;
main_light_alpha 10.11;
main_light_beta 0;
specular 0.59;
surface_color_palette 46a23b d2f3ff b6dcbe fa46ae c0005c ffffe4 7a24af ff2047 1836bd 7800bd b33e00 31de 3b43a7 b3c400 4db3ff ccfffe 3cbe00 334d26 9d0031 b24b46 487d00 f9ffae 2b00a1 7dcf55 87f3e0 3f1322 77c9c0 c76eb9 5f 73ac2c b240 471226 46ff42 ab51f8 85a21d 74009a ff7197 588f61 8b4a36 7b4483 3854ea 840fea 8d7f5f 4fc6af 413500 84223 df553c 6c8c 1ebe42 6f4b85 333b00 eb9e76 b472 6e006d b19a 7bbc66 499d75 998df9 5c279f ff2eff 560fc6 7f942a ffff7a e540ea 853e61 bd7311 b0c0 ff3637 71d07b 978000 2aa1a7 ff5afe af4e48 8094bc 962ef7 ffff4f d8557a 755113 d64c56 797cdc 6c673b c121 c7faff 8672 f6e5e ac7700 9dffff 2621a6 70ffff ce623e 3078 2800 4d2770 a5edff 960000 ab2fa2 9285cf 7a1669 e307d3 9d00a0 eb0c40 824a36 9a3c6b af1219 ab00 e2a0d8 970000 89df7c 9dcac8 928042 ea9cd0 60bd92 4ecc6b e67ca7 44ff1f ffffe9 27558d 304cc6 ffffdf 596e4a 566253 64a4f a0624 b1ffd6 7435 8e2686 365d67 d3e1db a66ede 222b62 d3fd21 ffe96b 860027 84b1ad 205080 579bcb 56dbf7 d551ea a62f 87a835 40ff8c ff548f 627d44 260600 cddc07 4425ac a591af 54c3ff 1e c8c4c0 bfee39 2221c9 ae883e 5091 62ada9 cc82f8 619aa 5eff8b 69c58f 4ab50 2e2c00 85ff4a 4ec40f ff6d74 8329a4 3a529d 348791 927552 7a981b a3ba5a d4ff86 caffff 7e7ba0 ec516e 741345 780c3 df8eff 5ac0a9 ffaa96 8060a5 d7207e 6fa648 fd5b8b cfe9b9 a6c356 7c61ff d104e8 7186da 3ee96a 123839 30b68b 729b00 499cc9 f9fb46 704d00 3d75b1 6f3400 23ada2 4c9661 ff50de 46bdd7 bc995f fd85a7 88f078 82e0e9 4000b9 c7cccf ffd784 a3f477 540259 6b0046 f626e1 e3b176 454fae 25428b ff5ab5 ff3caf d9b7b2 a85950 c8c990 5d44e2 1000 547a1f cc3d55 232031 3e2c8f 3c5e49 4dbec9 b27ca7 4a9d54 c55beb 4674 ec000 908b01 e7a957 3a1c65 b1bebf eed956 92ffe6 612ceb 8e287 955ac1 e0e1a5 5578a8 a2bf71 218358 82cfca 1b50d9 d9c95c a2c085 2c2500 33 b08455 ffff5c d08aff ;
target -0.004490446521901156 -1.390826166506441 2.011720041810944;
[fractal_1]
mandelbulb5_box_fold1_enabled true;
mandelbulb5_box_fold1_start_iterations 1;
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier2 0.097403 0.162338 0.194805;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1_enabled_x false;
mandelbulb5_fabsFormulaAB1_enabled_y false;
mandelbulb5_fabsFormulaAB1A 0 0 0.867769;
mandelbulb5_fabsFormulaAB1B 0 0 0.454545;
mandelbulb5_fabsFormulaABCD1_enabled true;
mandelbulb5_fabsFormulaABCD1_enabled_Ax false;
mandelbulb5_fabsFormulaABCD1_enabled_Ay false;
mandelbulb5_fabsFormulaABCD1_enabled_Bx false;
mandelbulb5_fabsFormulaABCD1_enabled_By false;
mandelbulb5_fabsFormulaABCD1_old_weight 0.21;
mandelbulb5_fabsFormulaABCD1_old_weight_enabled true;
mandelbulb5_fabsFormulaABCD1A 0 0 -0.26971;
mandelbulb5_fabsFormulaABCD1C 1 1 -1;
mandelbulb5_fabsFormulaABCD1D 0 0 4.792531;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_power 5;
[fractal_2]
[fractal_3]
[fractal_4]
 MB5 test qdsd3a.fract (3.73 KB - downloaded 184 times.)  MB5 test qdsd3a 27.jpg (93.65 KB, 600x800 - viewed 707 times.) « Last Edit: September 11, 2015, 01:19:07 AM by mclarekin, Reason: image added » Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #1 on: September 11, 2015, 02:57:18 AM »

For V2.05 extended formulas it was decided to try and make the maths semi-self explanatory, therefore many of the parameter groups are labelled with  formulas rather than names, but not all. In the example above we have a  parameter called Old_Weight. It was a simple proportion function that kind of works  but was replaced with a more correct function. However Old Weight is still a worthwhile tweak in some cases, and can generally operate in the range of 0 to 1.3.

//OLD WEIGHT

temp = z;
Transform bla bla bla producing a new z
z = temp + ((new z - temp)  * Weight;
 Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #2 on: September 11, 2015, 10:16:31 AM »

This example demonstrates how a mandelbulb surface can be altered with the addition of  a small influence of boxfold. The attached code has no boxfold, if you render then enable boxfold1, render then also enable boxfold2 and render,  you will see the different surfaces.  Note there is a small increase in render time caused by the inclusion of boxfold with this Mandelbulb, if this was a Mandelbox the difference would be greater. You need to balance the number of parameter groups against acceptable render time.

When you end up with a lot of parameter groups enabled, it is often good to test which ones can be disabled with out affecting the fractal image too much. Some initial tweaks may turn out to have little or no affect after some subsequent tweaks have been applied. If you can reduce the number of parameter groups that are enabled, you generally decrease render time and increase image quality.
 MB5 test qdsc3k.fract (3.43 KB - downloaded 155 times.)  MB5 test qdsc3h comp1.jpg (147.81 KB, 640x480 - viewed 540 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #3 on: September 11, 2015, 01:08:11 PM »

Yet another Mandelbulb Extended example.  (The mandelbulb fractal is relatively fast to render.)

This example has a boxFold1 starting at iteration 1, which probably produces the nine spikes. Spike tips are clipped off by a bailout of 10 (worked with this image but not always.)

At 800x600, Quality Detail level  is down at 0.6 and Step multiplier is really low at 0.03, and still the bad quality had to be hidden by a bit of volumetric fog.
The bad quality is probably due mainly to the first fabs() formula used, having a "weight" of 0.5. Generally when using the "weight" function, the worst settings have been found around 0.5 (half way.)

Note that the first three fabs() formulas on the Mandelbulb _ extended tab, have "enable fabs" checkBoxes, whereas the other three  fabs() formulas have "enable" checkBoxes, the difference is important.

After setting up this image (by tweaking another), I checked and found that there were two parameter groups I could disable, and still the render time was longer than I like.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_mode 1;
background_color_1 0 5f00 9f00;
background_color_2 0 5f00 9f00;
background_color_3 0 5f00 9f00;
bailout 10;
camera -0.07510084379092166 -1.113327898422398 0.3522982747001039;
camera_distance_to_target 0.5000000000000001;
camera_rotation 69.30664047123257 -9.567558856023574 -90;
camera_top -0.35336642523193 -0.9354849916053206 6.038061674015861e-17;
coloring_palette_offset 14.71;
coloring_palette_size 255;
coloring_random_seed 30416;
coloring_speed 0.1;
DE_factor 0.03;
detail_level 0.6;
flight_last_to_render 0;
formula_1 52;
glow_color_1 ff00 0 0;
glow_color_2 ff00 ff00 7f00;
keyframe_last_to_render 0;
main_light_alpha 10.11;
main_light_beta 0;
specular 0.3;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c8587 5c8587 5c8587 5c8587 5c8587 5c8587 c0d135 411300 900000 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d b34301 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 fa3431 840902 d34036 da2013 c42507 1d0a03 b0505 150c05 2c1f0e 352611 221407 110c06 190f05 21250c 1e1b0a 130f03 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
target -0.5363371838002903 -0.9391022955332675 0.2691930525255536;
volumetric_fog_colour_1_distance 0.001;
volumetric_fog_colour_2_distance 0.0022;
volumetric_fog_distance_factor 0.001;
volumetric_fog_enabled true;
[fractal_1]
mandelbulb5_box_fold1_enabled true;
mandelbulb5_box_fold1_start_iterations 1;
mandelbulb5_box_fold2_start_iterations 1;
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1_enabled_y false;
mandelbulb5_fabsFormulaAB1_enabled_z false;
mandelbulb5_fabsFormulaAB1_weight 0.5;
mandelbulb5_fabsFormulaAB1_weight_enabled true;
mandelbulb5_fabsFormulaAB1A 0.9 0 0;
mandelbulb5_fabsFormulaABCD1_enabled true;
mandelbulb5_fabsFormulaABCD1_enabled_Ay false;
mandelbulb5_fabsFormulaABCD1_enabled_Az false;
mandelbulb5_fabsFormulaABCD1_enabled_Bx false;
mandelbulb5_fabsFormulaABCD1_enabled_By false;
mandelbulb5_fabsFormulaABCD1_enabled_Bz false;
mandelbulb5_fabsFormulaABCD1A 0.9 0 0;
mandelbulb5_main_rotation1 45 0 0;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb2_alpha_angle_offset 30;
mandelbulb5_mandelbulb2_enabled true;
[fractal_2]
[fractal_3]
[fractal_4]
 MB5 test qdsc3n.fract (3.73 KB - downloaded 179 times.)  MB5 test qdsc3n 640.jpg (156.75 KB, 640x480 - viewed 517 times.) « Last Edit: September 13, 2015, 02:24:21 AM by mclarekin » Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #4 on: September 12, 2015, 03:55:41 AM »

This example is for a simple hybrid Quaternion- Mandelbulb.
Rendering the attached .fract file will produce a quarternion sphere, hybridised with a mandelbulb sphere  =  sphere

Now enable the addition of a constantMultiplier ( z = z + ( c * const.) below the enabled quarternion mainFormula (Formula#1 tab), then render.
Now also enable the addition of a constantMultiplier ( z = z + ( c * const.) below the enabled mandelbulb  mainFormula (Formula#2 tab), then render.  Now you should have the attached image.

Then tweak away, its like working with clay on a potters wheel.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
background_color_1 0 5a00 9600;
background_color_2 0 5a00 9600;
background_color_3 0 5a00 9600;
camera 0 -4 1;
camera_distance_to_target 4;
camera_rotation 0 0 0;
camera_top 0 0 1;
coloring_palette_offset 70.31;
coloring_palette_size 255;
coloring_random_seed 748240;
coloring_speed 2.02;
DE_factor 0.3;
flight_last_to_render 0;
formula_1 54;
formula_2 52;
fractal_rotation 0 -90 0;
hybrid_fractal_enable true;
image_height 800;
image_width 600;
keyframe_last_to_render 0;
specular 0.31;
surface_color_palette 8654 b00 e2bc2 b589ff b3abbe f3a46d e47b9d 6dcbd9 ffd238 ebdc 983e89 5b284b c4a1c5 308260 ad46ff 582db8 c3c0c1 1130 91dcff 8a88ff af0cd3 ffb999 aaa7a1 333c28 79b9b7 3c75dc 490a98 5fffff 58e5f6 b3d000 87ff87 a59700 735124 c0bf1d 480060 ffffff 8b1364 a7d5 a39fd3 8b42a1 ded650 a924 d6fad7 9083c9 296500 e74131 2d2f43 c1b96f ffffdc 8087da bac7c2 ffff68 c92b39 21 f99ab8 e86379 8b0000 9fc8af b70000 20db89 2aecc2 f1dcff d4663a 16858c 85083d 5049ff edab16 c10000 2e3a2d 787490 d4d290 b89876 98b9ff 52c61 64aa91 a06828 df5b1a a624a1 3200a5 7a007a 6c3c49 a35cff 58 78aa63 d9d43a 9dc316 9c2664 7dca38 325f06 f279ff 2bb342 92daf8 ffda9c 43b726 cf4231 f5865e 9d0014 a600aa 728f65 3a2fd4 16f649 756c28 71d565 c34a0f be0000 c73857 87dae1 bb0dd2 4b1c9b 6a17bf 87525b ffaf5f 234300 38340b 6f35 a536 60b85b d423d7 9e4669 84618b 55ee23 87 ffe270 a336ce eabc49 e4ff56 979cbf 5a00b0 364850 c22000 2af2c0 ff74c1 8ab2a8 aadebd 3e9ca9 975b12 d0fc72 980000 930050 49c82e 891e73 7b7969 7dc01b 34290d 6c0000 f59dff bf6dff 6effff ff545f b1f5c9 6338ff 700069 4b00 4ab01f 3100bc ac5d61 822c00 6a93d0 a8ff86 3c7501 dcb73e 264069 c23278 3d0000 677ad1 ee8de1 54d9ba 0 b13c39 e23b2e 74d63f 307e2e 56e9ba 93a5f2 74fff2 4d5a 22ca28 a040f6 25cbed 399a72 ec7e11 672d24 6a0578 c1ace6 d1cfb6 81d904 62a6cc 0 2e2486 6a0000 86c3ff b9cafb bc34f1 ffff9a c81514 733172 2d2a00 bf973d e2d878 7e39ac fd29ec ffffd0 6c00 a9aac3 9aeb24 4e3e1a 731692 9fad62 9ef10c 372b ef443d 5e53ac ddb0e8 5c0500 81604 b39f76 6e739c b32e6 7b00 5c88ff 6957c4 ff70fb d3bcac 2f6256 7db800 67ffc7 f3ffff fff0ff 5d1f73 3f3a37 46ad98 ffd2be ffaa88 18cc9d 67bc00 37 467d19 19c368 4f00 d234da d420f5 3f3b4b 159400 64ff62 49d2cb a0bac4 be4b43 474fbf 3a88 cc8000 772005 e4ff6d 4971ff d00053 4bff96 ;
target 0 0 1;
[fractal_1]
quaternion104_constantMultiplier1 2.002584 1 1;
quaternion104_constantMultiplier1_enabled false;
[fractal_2]
mandelbulb5_constantMultiplier1 0.5 1 1;
mandelbulb5_constantMultiplier1_enabled false;
[fractal_3]
[fractal_4]
 quat mb test ee5O.fract (2.57 KB - downloaded 165 times.)  quat mb test ee5O 144.jpg (39.61 KB, 600x800 - viewed 503 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #5 on: September 12, 2015, 02:54:23 PM »

This example uses Quaternion "w" parameters, for these parameters to work an initial "w" value other than zero is required.  In this example we add 0.9 to z.w in the first iteration, from then onwards, other "w" parameters can be tweaked.

The attached .fract file is a boolean union of two quaternions. Note that as boolean operators is enabled, the Transform functions have appeared at the bottom of each Formula tab, allowing  scale/rotate/shift  for each fractal, (but not used in this example.)

Disable boolean operators on the Hybrid tab and render again to view the single version.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_color_1 d400 d600 6700;
background_color_2 af00 b000 5c00;
background_color_3 8c00 8d00 4a00;
bailout 12;
boolean_operators true;
camera 0 -2.5 0;
camera_distance_to_target 2.5;
camera_rotation 0 0 0;
camera_top 0 0 1;
coloring_palette_offset 180.95;
coloring_palette_size 255;
coloring_random_seed 449653;
DE_factor 0.5;
detail_level 4;
flight_last_to_render 0;
formula_1 54;
formula_2 54;
image_width 600;
keyframe_last_to_render 0;
primitive_circle_1_color ff00 ff00 0;
primitive_circle_1_rotation 90 0 0;
specular 0.55;
surface_color_palette d778e9 2ebf6a 244840 9ed675 988510 76d669 56ba41 d4dae 5ea569 5fffb9 5dff51 9e0f68 ef03fa c87454 8da1f5 84c5ae de8ade a7be71 1c0012 790b cd57ff 3bbf33 3cc4be 28a7a1 9a149b fb66ff c6f758 a6c6ff 5527 d62294 549705 51473e 5300d0 c16c 10d781 83534 85530f 590000 67c3d0 510000 818550 5500a8 beffae 1daebc 4943 1a4100 e7e393 871ffb b357d0 5fb123 cb2e8e 6e7553 97cdcc 786d24 bb618d 84cad6 acff2d ffffff 1ed9 7f4e1d c43077 7ec71e 4c8697 98b4db a54fff c8651c fff643 b46de9 346e66 aba021 b9c351 ffc77f 79d4fa 8f09ac 2e41 b0a2c3 b75271 e04378 abfffb ed4bff 701327 6d876b e6c7ff 9628aa bd4dcd f7ff85 ff2d6b 51ed3b 270137 40c4c3 ebff72 e99671 836a49 177b61 c70047 ff6949 3ab362 b83d52 d32837 7a4c00 89004e c6ebd6 8077 fe98e3 4f530b acda2b ffa65e d0b4c7 8a1e 4141ab 58ffff b95afc 73408e ff4668 8800d4 1d6eff 90cfc6 82568f 3a0033 93b931 e04a29 1b8f60 82ff5e d84d70 9ddd44 329fae 20238c 918a4e 500ddc 4a80 21d48a c45aae ff7132 bbc25 97f00 58b51b 89a85a 3c7d 417c86 433a4f 8532 7f3700 cce7d3 b99233 1a6208 ff3b2b c9900b 7d6aad a83fbd 7e00b6 680dc3 d8ff7f 6f745c b0b2d 9e8045 ffc470 254fe4 e17cbb 2396c0 d44f19 ffcfff 7bd1ec ffe9bd 562a00 553866 48a55e bbbfc8 604a33 87 bdffca c02632 a580b9 25c900 3cf1e 90735d 39cb71 8e65db 6bb5ff 645186 b6c9fb 519b00 3bac0 d929bb c441b1 4f082c b76249 2da675 4fd1c7 4d904d 36508c af00c5 ffa249 5500ff 5500ff 5fa9ea 2b29a1 9dd2f4 4492bc ff0000 ff0000 8bf829 45ffe9 ff9dd3 208946 31224b 8a4a9b 9a069a 1b467a 992543 f6ffae e048d5 5244b8 17b700 c600ae 5a4592 ff48ff 38e31c 91e135 13001d 542a80 710d60 7b5434 626f8b b3ff48 ffddaf 572835 718c78 5bbfa2 23ff27 18c69c 796e00 14009d 5e6283 83596f 506f72 af576b 753e7c ff69ff cad6 57c5c5 c83121 2979 7c7315 69f00 3e429d 7ab2 91baff ae0000 ae00 8bd0e4 4d856b 2d4951 c9e77c 596060 8a90 ;
[fractal_1]
quaternion104_constantMultiplier1_enabled false;
quaternion104_main_rotation1 0 3 0;
quaternion104_main_rotation1_enabled true;
quaternion104_main_rotation2 0 45 0;
quaternion104_main_rotation2_enabled true;
quaternion104_main_rotation3 19.64 0 0;
quaternion104_quaternion1_factorConstantW -0.2;
[fractal_2]
quaternion104_constantMultiplier1_enabled false;
quaternion104_main_rotation1 180 3 0;
quaternion104_main_rotation1_enabled true;
quaternion104_main_rotation2 0 45 0;
quaternion104_main_rotation2_enabled true;
quaternion104_main_rotation3 -180 0 0;
quaternion104_main_rotation3_enabled true;
quaternion104_quaternion1_factorConstantW -0.2;
[fractal_3]
[fractal_4]
 quat test hhb1ag 175.jpg (152.92 KB, 600x600 - viewed 541 times.)  quat test hhb1ag.fract (3.36 KB - downloaded 157 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #6 on: September 13, 2015, 02:44:36 AM »

Quaternions - more
I have found that with quaternions, a  detail level up at 4 if often good to give more surface texture.

I am still learning the potential of  Mandelbulber V2.05, but I prefer to  using  Quaternion- extended as a hybrid with Mandebulb - extended. As quaternions can be a bit boring.

With the above example ,fract file,  go to fractal - primitives, and enable circle#1. Quaternions often look less boring if they are coming out of a surface, and you can get the lighting shadow effect, (thanks JoeFraq.)
 Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #7 on: September 13, 2015, 12:58:15 PM »

This quaternion - extended fractal, demonstrates keeping it simple, it is fast enough to allow Multiple Rays AO. It is simple and plain enough that the DE fits well.

This fractal iteration loop uses only four parameter groups:-
the basic quaternion sphere,
a single addition constant to z.w
a rotation of beta angle
a box fold for only one iteration

Try rendering the various  combinations of having three  of the four parameter group boxes enabled, and you can see the influence they each have.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
ambient_occlusion_mode 1;
ambient_occlusion_quality 3;
background_color_1 0 0 0;
background_color_2 0 0 0;
background_color_3 0 0 0;
bailout 13;
camera -2.899137802864844 3.856539310423643 0.9660291167010562;
camera_distance_to_target 2.999999999999998;
camera_rotation -134.9999999999999 0 0;
camera_top 0 0 1;
coloring_palette_offset 27.32;
coloring_palette_size 255;
coloring_speed 1.5;
DE_factor 0.7;
detail_level 0.25;
flight_last_to_render 0;
formula_1 54;
fractal_rotation 0 -90 0;
image_height 2400;
image_width 3200;
keyframe_last_to_render 0;
main_light_alpha 0;
primitive_cylinder_1_enabled true;
primitive_cylinder_1_height 2;
primitive_cylinder_1_position 0 0 -1;
primitive_rectangle_1_enabled true;
primitive_rectangle_1_height 6;
primitive_rectangle_1_position 0 -2 2;
primitive_rectangle_1_rotation 90 0 0;
primitive_rectangle_1_width 9;
primitive_torus_1_color ff00 ff00 0;
primitive_torus_1_enabled true;
specular 0.45;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 fff71f 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 fa3431 840902 7100 4a00 ffff00 ffff00 ad0000 ad0000 2c1f0e 352611 221407 110c06 190f05 21250c 1e1b0a 130f03 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
target -0.7778174593052026 1.735218966864003 0.9660291167010562;
[fractal_1]
quaternion104_box_fold2_enabled true;
quaternion104_box_fold2_stop_iterations 1;
quaternion104_constantMultiplier1_enabled false;
quaternion104_main_rotation2 0 45 0;
quaternion104_main_rotation2_enabled true;
[fractal_2]
[fractal_3]
[fractal_4]
 quat test hhb2m.fract (3.3 KB - downloaded 151 times.)  quat test hhb2m 1200.jpg (187.61 KB, 1200x900 - viewed 524 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #8 on: September 14, 2015, 07:40:34 AM »

EXAMPLE of composite fractal images built from .fract files.

Open example file in a text editor and scroll down to [fractal_1]

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_color_1 0 5600 8f00;
background_color_2 0 5600 8f00;
background_color_3 0 5600 8f00;
boolean_operators true;
camera 0 -20 0;
camera_distance_to_target 20;
camera_rotation 0 0 0;
camera_top 0 0 1;
coloring_palette_offset 57.74;
coloring_palette_size 255;
coloring_speed 0.05;
DE_factor 0.3;
flight_last_to_render 0;
formula_1 52;
formula_2 52;
keyframe_last_to_render 0;
main_light_alpha 8;
primitive_cylinder_1_enabled true;
primitive_cylinder_1_height 12;
primitive_cylinder_1_position 6.2 0 0;
primitive_plane_1_enabled true;
primitive_plane_1_position 0 0 -1.1;
specular 0.31;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 fff71f 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 ffffff 840902 ffffff da2013 ffffff 1d0a03 ffffff 150c05 ffffff 352611 ffffff ff 190f05 ff 1e1b0a ff 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
[fractal_1]
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier1_stop_iterations 2;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_constantMultiplier2_start_iterations 1;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1A 1.5 0 0.667;
mandelbulb5_fabsFormulaAB1B 1.5 0 0.667;
mandelbulb5_main_rotation1 45 45 45;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb1_power 5;
mandelbulb5_mandelbulb1_stop_iterations 2;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_start_iterations 1;
quaternion104_box_fold2_enabled true;
quaternion104_box_fold2_start_iterations 4;
quaternion104_fabsFormulaABCD1A 0 0 2.25;
quaternion104_fabsFormulaABCD2_enabled_Ax true;
quaternion104_fabsFormulaABCD2_enabled_Ay true;
quaternion104_fabsFormulaABCD2_enabled_Az true;
quaternion104_fabsFormulaABCD2A 2.5 2.5 2.5;
quaternion104_fabsFormulaABCD2C 0 0 0;
quaternion104_main_rotation2 12 25 -13;
quaternion104_main_rotation3 12 25 13;
quaternion104_quaternion1_factorConstantVect 1 -1 2;
quaternion104_quaternion1_start_iterations 2;
quaternion104_scale2 -2;
[fractal_2]
mandelbulb5_constantMultiplier1 1 1 -1;
mandelbulb5_constantMultiplier1_start_iterations 7;
mandelbulb5_constantMultiplier2_start_iterations 6;
mandelbulb5_mandelbulb1_start_iterations 7;
mandelbulb5_mandelbulb2_power 2;
mandelbulb5_mandelbulb2_start_iterations 6;
[fractal_3]
[fractal_4]

The image from this file is a single mandebulb fractal.  The  quaternion code, (and the mandelbulb code listed under [fractal_2] is inherited from earlier tweaking of this file.  So good policy, DELETE unnecessary code.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_color_1 0 5600 8f00;
background_color_2 0 5600 8f00;
background_color_3 0 5600 8f00;
boolean_operators true;
camera 0 -20 0;
camera_distance_to_target 20;
camera_rotation 0 0 0;
camera_top 0 0 1;
coloring_palette_offset 57.74;
coloring_palette_size 255;
coloring_speed 0.05;
DE_factor 0.3;
flight_last_to_render 0;
formula_1 52;
formula_2 52;
keyframe_last_to_render 0;
main_light_alpha 8;
primitive_cylinder_1_enabled true;
primitive_cylinder_1_height 12;
primitive_cylinder_1_position 6.2 0 0;
primitive_plane_1_enabled true;
primitive_plane_1_position 0 0 -1.1;
specular 0.31;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 fff71f 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 ffffff 840902 ffffff da2013 ffffff 1d0a03 ffffff 150c05 ffffff 352611 ffffff ff 190f05 ff 1e1b0a ff 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
[fractal_1]
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier1_stop_iterations 2;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_constantMultiplier2_start_iterations 1;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1A 1.5 0 0.667;
mandelbulb5_fabsFormulaAB1B 1.5 0 0.667;
mandelbulb5_main_rotation1 45 45 45;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb1_power 5;
mandelbulb5_mandelbulb1_stop_iterations 2;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_start_iterations 1;
[fractal_2]
[fractal_3]
[fractal_4]

Now you can copy and paste in some fractal code from another .fract file. I'm just going to repeat twice the [fractal_1] code above then cut and paste in a quaternion for Formula #4.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.23;
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_color_1 0 5600 8f00;
background_color_2 0 5600 8f00;
background_color_3 0 5600 8f00;
boolean_operators true;
camera 0 -20 0;
camera_distance_to_target 20;
camera_rotation 0 0 0;
camera_top 0 0 1;
coloring_palette_offset 57.74;
coloring_palette_size 255;
coloring_speed 0.05;
DE_factor 0.3;
flight_last_to_render 0;
formula_1 52;
formula_2 52;
keyframe_last_to_render 0;
main_light_alpha 8;
primitive_cylinder_1_enabled true;
primitive_cylinder_1_height 12;
primitive_cylinder_1_position 6.2 0 0;
primitive_plane_1_enabled true;
primitive_plane_1_position 0 0 -1.1;
specular 0.31;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 fff71f 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 ffffff 840902 ffffff da2013 ffffff 1d0a03 ffffff 150c05 ffffff 352611 ffffff ff 190f05 ff 1e1b0a ff 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
[fractal_1]
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier1_stop_iterations 2;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_constantMultiplier2_start_iterations 1;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1A 1.5 0 0.667;
mandelbulb5_fabsFormulaAB1B 1.5 0 0.667;
mandelbulb5_main_rotation1 45 45 45;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb1_power 5;
mandelbulb5_mandelbulb1_stop_iterations 2;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_start_iterations 1;
[fractal_2]
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier1_stop_iterations 2;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_constantMultiplier2_start_iterations 1;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1A 1.5 0 0.667;
mandelbulb5_fabsFormulaAB1B 1.5 0 0.667;
mandelbulb5_main_rotation1 45 45 45;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb1_power 5;
mandelbulb5_mandelbulb1_stop_iterations 2;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_start_iterations 1;
[fractal_3]
mandelbulb5_constantMultiplier1_enabled false;
mandelbulb5_constantMultiplier1_stop_iterations 2;
mandelbulb5_constantMultiplier2_enabled true;
mandelbulb5_constantMultiplier2_start_iterations 1;
mandelbulb5_fabsFormulaAB1_enabled true;
mandelbulb5_fabsFormulaAB1A 1.5 0 0.667;
mandelbulb5_fabsFormulaAB1B 1.5 0 0.667;
mandelbulb5_main_rotation1 45 45 45;
mandelbulb5_mandelbulb1_enabled false;
mandelbulb5_mandelbulb1_power 5;
mandelbulb5_mandelbulb1_stop_iterations 2;
mandelbulb5_mandelbulb2_enabled true;
mandelbulb5_mandelbulb2_start_iterations 1;
[fractal_4]
quaternion104_constantMultiplier1 0 1 1;

Highlight (Ctl A) the contents of  the .fract text file and copy, (to clipboard.)

Now in Mandelbulber V2.05, use File – Load setting from clipboard...

Note that the  camera/target coordinates all = 0, except camera y  = -20, viewing straight down the y_axis,  (this makes the maths and orientation easier.)

I want to intersect my two clone fractals (currently invisible) at the left and right hand side of my original fractal.

So using the on-screen pointer coordinates tells me  x = 6.2 looks close, but to be sure I go to Primitives and create  a temporary 0.1 rad, 12 height cylinder and locate it at x = 6.2, render. Hmmm, looks close enough for this example.

On Hybrid tab, enable boolean operators.

Formula #2 tab, scroll down to bottom and Transform, shift x = 6.2, y = -6.2, Z-axis rotation 90. Render.

The go to Formula #3 tab, scroll down to bottom and Transform, shift x = -6.2, y = -6.2, Z-axis rotation 90. Render. Hold on! Formula #3 is NONE , because it was not enabled in the original file. OK  Choose “mandelbulb -  extended” from Formula #3's  drop down menu then apply the transforms.  All the correct parameters will be there.

Formula #4.  Enable the formula by choosing “quaternion – extended” from Formula #4's  drop down menu then apply  transforms Y-axis rotation -90, and shift y = -15. Render.

In this example we have built a boolean union image of a group of four existing fractal parameters  simply by "cut and paste."

Note. Colouring options with these boolean operator  group fractals is currently limited.

 Mbulb Eda4a2 test23.fract (4.27 KB - downloaded 153 times.)  Mbulb Eda4a2 test23 123.jpg (146.83 KB, 800x600 - viewed 513 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #9 on: September 15, 2015, 06:07:45 AM »

This “Mandelbox – extended” formula example demonstrates  the “brush stroke” effect from having the rotation transform placed after the addition of constants. It is just a standard -1.5 scale rotbox, with the rotation moved down the loop and late starting at iteration 1.  Tweaking the start/stop at iteration parameters can have a major effect on the resulting fractal.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
background_color_1 0 0 0;
background_color_2 0 0 0;
bailout 39;
camera 1.623337540626983 -2.771222239973842 -0.5137825961973761;
camera_distance_to_target 1.602469135802468;
camera_rotation -3.000000000000017 3.999999999999955 -1.999999999999977;
camera_top -0.03850021596120737 -0.0677919408660637 0.9969563611936846;
coloring_palette_size 255;
coloring_speed 1.02;
DE_factor 0.7;
DOF_focus 0.002775939647108316;
flight_last_to_render 0;
formula_1 53;
keyframe_last_to_render 0;
main_light_alpha 7;
main_light_beta 0;
specular 0.4;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 585bff 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 321e05 3c2304 180b03 4d2900 af7011 9b4b06 321a02 261b00 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 fa3431 840902 d34036 da2013 c42507 1d0a03 b0505 150c05 2c1f0e 352611 221407 110c06 190f05 21250c 1e1b0a 130f03 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
target 1.707 -1.174847417045799 -0.402;
[fractal_1]
mandelbox103_main_rotation2 24 8 4;
mandelbox103_main_rotation2_enabled true;
mandelbox103_main_rotation2_start_iterations 1;
[fractal_2]
[fractal_3]
[fractal_4]
 MX103 kmr3a 640.jpg (153.53 KB, 640x480 - viewed 546 times.)  MX103 kmr3a.fract (2.64 KB - downloaded 184 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #10 on: September 15, 2015, 11:44:51 AM »

This example demonstrates  the iteration weight transform, located at the bottom of Mandelbox – extended and Quaternion – extended formula tabs.

z = (z  * Const.Z ) + (zA * Const.A )  + (zB * Const.B )

At the end of each iteration of the loop functions we have the current “z”,  a vector containing 3D coordinates (z.x, z.y, z.w) for a point in 3D space.

In this example we start with a standard -1.5 mandelbox, but at the end of iteration 2 we assign the current “z”  to  “zA”, from then onwards this new zA (acting as a constant) is added to the new current “z” at that end of each subsequent iteration. We can multiply zA by a constant,  scaling it's influence on the iterations that follow.

There are also zB parameters on the tab and more could be added, the possibilities are  infinite, but the quality  likely to deteriorate.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
bailout 34;
camera 3.076665187799992 -6.153330375599985 1.425011091500054;
camera_distance_to_target 6.999999999999999;
camera_rotation 26.56505117707794 -16.60154959902025 0;
camera_top -0.1277753129999879 0.2555506259999764 0.9583148474999099;
DE_factor 0.3;
formula_1 53;
keyframe_last_to_render 0;
target 0.07666518779999273 -0.1533303755999858 -0.5749889084999458;
[fractal_1]
mandelbox103_iterationWeight1_constantA 1;
mandelbox103_iterationWeight1_enabled true;
mandelbox103_iterationWeight1_iterationA 2;
[fractal_2]
[fractal_3]
[fractal_4]
 MX103 kmu2 22.jpg (175.9 KB, 640x432 - viewed 509 times.)  MX103 kmu2 22.fract (0.68 KB - downloaded 164 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #11 on: September 18, 2015, 04:48:41 AM »

Standard mandelbulb with a 50% transform "weight" of a box fold operation only on iteration 1.
Try changing the weight to 0 and to 1 and you will see how you can animate the introduction of  this transform.

The use of "weight" in animation has to be tested beforehand as some setups work and some don't. (You can also use fog to disguise slightly bad quality)

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
camera 0.8670146781221579 -1.000958820840985 0.2158381502279216;
camera_distance_to_target 0.5499907732009888;
camera_rotation 15.92125479716908 -20.29144961220549 0;
camera_top -0.09513159568410144 0.3334924678833464 0.9379406982148029;
coloring_palette_offset 25.85;
coloring_palette_size 255;
DE_factor 0.3;
detail_level 4;
flight_last_to_render 0;
formula_1 52;
keyframe_last_to_render 0;
main_light_alpha 0;
main_light_beta 12;
specular 0.4;
surface_color_palette 5e869f 5e86a0 5d859f 5d859f 5c849e 5c849e 5e839e 5e839e 5d829d 5d829c 5d829d 5d829c 5c819c 5d829d 5c819b 5e829c 5d819b 5c819b 5c819b 5d809c 5c8587 a7ea29 c0ea58 455e00 c0d135 411300 fff71f 9f3100 432300 621400 ad2609 50f07 c0b07 1b0c05 320b06 221107 18100d 66829a 201404 b34301 2d1008 412001 4a2a00 71430b 7000 5500 ff0000 af7011 9b4b06 d5980a 876124 904907 f18b27 d6601a 220100 160805 260704 60160b ff5344 fa3431 840902 d34036 da2013 c42507 1d0a03 b0505 150c05 2c1f0e 352611 221407 110c06 190f05 21250c 1e1b0a 130f03 775e35 213519 b0800 271201 201f0d 240d07 330708 260905 26110e 502a15 19100b 200c05 231800 a77c00 241200 614200 cf5e00 5f0000 280906 140d03 220f01 984c18 9c1801 b94f11 4c0e00 b24d00 2b1b00 e5b433 9ab298 93aecc 91aece 92afcf 95afd0 93b0d2 95afd2 94b1d3 96b0d3 98b2d5 95b2d4 97b4d6 97b4d6 97b4d6 98b5d7 98b5d7 99b6d8 9ab7d9 9ab7d9 9bb8da 9cb9db 9bb8da 9cb9db 9cbadc 9dbbdd 9dbbdd 9ebcde 9ebcde 9bbede 9cbdde 9fbddf a0bee0 a0bee0 9fc0e1 9fc0e1 9fc0df a0c1e0 a0c1e0 a1c2e1 a4bee1 a1c2e1 a1c2e1 a2c3e2 a2c3e2 a0c2de a5c4e3 a2c3e2 a4c5e4 a3c5e1 a3c5e1 a3c5e1 50402 27393d a3c6e4 8dc298 dff71f cdf34e 243300 1e0d00 4d6207 375110 3a3404 a2c1d6 a5c5de a6c6df a6c6df a5c5da a7c6da 538105 9b3c0c a98f20 690000 101302 2d372c 253324 212a0d a3c2d7 a4c3d8 a3c2d6 a2c1d5 a2c1d5 a1c0d4 a1c0d4 a0bfd4 a0bed6 93ba3d 94bd19 a4a406 bde65c 9cbbd0 9bbace 9bbace 99bacd 99bacd 98b9cc 97b8c9 96b7ca 95b6c9 94b5c8 94b5c8 93b4c7 92b3c6 91b2c5 8db0c4 8fb0c3 8eaec3 8dadc2 8aadc1 8aadc1 88abbf 87aabe 85aabd 85a8bc 83a8bb 82a6bc 81a5bb 80a4ba 7fa3b9 7ea2b8 7da1b7 7ca0b8 7b9fb7 7a9eb6 789eb3 779db4 769cb3 759bb2 749ab1 7399b0 7298af 7196b0 6e96af 6f94ae 6c94ad 6c94ad 6b93ac 6a92ab 6890a9 6890a9 678fa8 668ea7 658da6 648ca5 648ca5 638ba4 638ba4 628aa3 6189a2 6088a1 6088a1 6287a1 6287a1 ;
target 0.7255063885407168 -0.5048886311305755 0.02510372369030217;
[fractal_1]
mandelbulb5_box_fold1_enabled true;
mandelbulb5_box_fold1_start_iterations 1;
mandelbulb5_box_fold1_stop_iterations 2;
mandelbulb5_box_fold1_weight 0.5;
mandelbulb5_box_fold1_weight_enabled true;
[fractal_2]
[fractal_3]
[fractal_4]
 Mandelbulb Manipulations 640 A132.jpg (153.92 KB, 480x640 - viewed 553 times.)  MB5 test ssa3.fract (2.65 KB - downloaded 163 times.) Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #12 on: September 23, 2015, 10:39:39 AM »

This Quaternion – extende example  uses the ability to set  the stop/start iteration parameters to transform the image, which can reduce render time.

This simple quaternion based fractal is made up of  three transforms :

Box Fold stopping at iteration 4, (with weight reduced to 30%)
Basic Quaternion element – the sphere
and z =z + (c * constant), starting at iteration 2 and stopping at iteration 4

Try adjusting BoxFold_stop   from 4 stepping down to 0, then move the third transforms stop up to 5 then down to 3.   A single step can make a lot of difference to the image.

Also note that when the  if( start < i< stop )  conditions are not met, then the internal transform function does not run, saving render time.   In some cases  a parameter only needs to run  for a few iterations before reaching a state,  from where  all further iterations of that transform are just extra render time and do not visibly change the image.

Code:
# Mandelbulber settings file
# version 2.05
# only modified parameters
[main_parameters]
ambient_occlusion 1.25;
ambient_occlusion_enabled true;
ambient_occlusion_quality 10;
aux_light_intensity_1 0.851138;
background_color_1 3f00 7e00 bd00;
background_color_2 3f00 7e00 bd00;
background_color_3 3f00 7e00 bd00;
camera -1.758646571821249 -3.446065214951232 -1.035276180410083;
camera_distance_to_target 4;
camera_rotation -29.99999999999996 14.99999999999998 -90;
camera_top -0.8660254037844389 0.4999999999999994 5.914589856893349e-17;
coloring_palette_offset 187.75;
coloring_palette_size 255;
coloring_random_seed 100877;
coloring_speed 0.24;
DE_factor 0.2;
fake_lights_max_iter 11;
fake_lights_min_iter 2;
fake_lights_visibility 2.13796e-13;
fake_lights_visibility_size 0.9399999999999999;
flight_last_to_render 0;
formula_1 54;
glow_enabled false;
iteration_fog_color_1 ff00 0 0;
iteration_fog_color_1_maxiter 2.5;
iteration_fog_color_2 fe00 ff00 e200;
iteration_fog_color_2_maxiter 3;
iteration_fog_color_3 c100 c100 9d00;
iteration_fog_opacity 602560;
iteration_fog_opacity_trim 1;
keyframe_last_to_render 0;
main_light_colour f400 f400 f400;
specular 0.43;
surface_color_palette 49b3e2 8f5559 d449cb 3effff 85acc4 ff9093 b94d 74d99a 643a92 8279ff ff3f97 4767b5 7c005f 372f47 a52170 9ccd67 b088 448260 ff743f 93503c 70010 498dbf ab 8eff71 ffffba 9d1666 81 3d4608 ab0073 2c7f1c 6d39bd 59ff8f 60219b ebd991 7d9a9d bd60b9 ff4b1f 11a168 e37103 39073b 634274 8f00 a9961e 2df536 6bbddd cd2953 3872aa 8dc7df 4e00a1 945f9f eb8c92 812410 291705 89d8ff 6affcd 4ba123 152eeb 2b8a 7f56b4 cb590b 98828b e4a2a7 c9568e 9eafcf 953ebb 8bbed8 6898b5 b1bd4b cc443f ba481e f852ff 7f4cd7 317efe 873335 5e854 de250 9780db 6736c9 1dd3ce 73ade9 c1338b b34b4b 881f4e f7218 ceacf4 932509 b2a548 a5ff97 64ff6a 5f8a 7dfff9 6e00d6 545cb5 aa7b0a a36557 b9ae04 d90000 cabcaf fb6372 1fd32e ce5800 65d94d 95d299 9e6c 6d2f84 c2394f 333400 61f465 3e2696 3ec5c3 230033 34b372 4b84c0 c7399a 8e3460 f9922a 421e70 c25cf0 c3caff f53ab0 951100 f3a753 79b000 e38718 547200 5e589e 96a4b5 e2d9ff 7aff12 f6ffd3 ff7ab5 ca7bb5 c26bc8 872189 e978cc 1fcc49 8716 64f4a2 3585ee 1c10 eb426e 76738a 63ad77 d37335 c70000 faf491 4fa8e5 824585 287b44 2b4ec8 f4e15f b3e56a a78c32 2b8a2d 2d0523 b2500 d298af 627d9b c27dd4 e1e094 eee67f b713b5 395d2c 56ff9d 39e4b8 edf47e bdff7d 5f3ac9 c87789 2e1403 5cafff ba02b 2ab065 7b9b9f 4421aa 91ef42 a4a48 30ac4c 8be09e a0f426 1dc97a 7bff4c b0d19 d9f257 e2c0ff a64c48 c2ff4b d23e29 ac4dff 6a4d88 e94a6a 110d9a 70f6cc b34e81 8effd4 299d23 ffdc80 7756e4 ff75e7 539e4d 7aff5b 36bee3 895ab2 bc163b 2fe7ba baff58 403dff a0b979 50 93f76c dc99d ccfff6 e083e5 adffe1 f6576e 7a400 bb0fb1 ff42ff 5e9800 a67239 afa0 ffa5ab 22f8ed be2ea9 ab324 66a46f 4c537c 1dc33f fcf58 70ba57 2bd49f ff9cd1 c02052 5b84c7 98ff7a d97479 4071ff 2dff6e 2300a7 be42fb 5c9b82 22c262 663200 9f2739 4f0027 e8ff79 c5b26c ffeb71 34d7a6 ff96a2 900014 ca77be 88f6d7 6747ae 8f2010 ;
target 0.1732050807568878 -0.09999999999999989 -1.18291797137867e-17;
transparency_interior_color ff00 ff00 ff00;
[fractal_1]
quaternion104_box_fold1_enabled true;
quaternion104_box_fold1_stop_iterations 4;
quaternion104_box_fold1_weight 0.3;
quaternion104_box_fold1_weight_enabled true;
quaternion104_constantMultiplier1_start_iterations 2;
quaternion104_constantMultiplier1_stop_iterations 4;
[fractal_2]
[fractal_3]
[fractal_4]

 quat test ghh1 1200.jpg (128.47 KB, 1200x900 - viewed 521 times.)  quat test ghh1.fract (3.28 KB - downloaded 157 times.) Logged
Snicker02
Alien

Posts: 38

 « Reply #13 on: October 12, 2015, 11:55:34 PM »

How do I get these into Mandelbulber?
 Logged
mclarekin
Fractal Senior

Posts: 1739

 « Reply #14 on: October 13, 2015, 05:14:23 AM »

Copy the code,

Then go into mandelbulber and go to File and choose  Load settings from clipboard is the easies way

or,

download the .fract file  (parameter file) and save it some where , then in mandelbulber go File choose load settings and navigate to where you stored the file
 Logged
 Pages: [1] 2   Go Down