Logo by yv3 - 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: Visit us on facebook
 
*
Welcome, Guest. Please login or register. March 29, 2024, 09:15:15 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]   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: Mandelbox - some help needed...  (Read 1126 times)
0 Members and 1 Guest are viewing this topic.
Kyzia
Alien
***
Posts: 28


« on: August 18, 2017, 03:15:53 PM »

I'm not sure whether this would be a bug, something I'm doing wrong, or something else, so I'd appreciate some help understanding what's going on...

I have a scene using a Mandelbox fractal type, and when I render it with default raymarching step size, I get a high percentage of wrong distance estimations (over 10%)
If I try to run the optimization, even the 'low quality' optimization, I end up with a very small value for the raymarching step size (0.00128), and if I then try to render using that value I end up with an almost empty screen.  Even if I set it higher (like 0.05), I'm getting large unexpected gaps.

Here's the settings for anyone who wants to try it and see what I mean...

Code:
# Mandelbulber settings file
# version 2.11
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
camera 1.969343724242223 -2.78823256626516 3.056456666191479;
camera_distance_to_target 2.011153221130371;
camera_rotation 5.967398591253336 26.33729010574944 -1.038753892303514e-08;
camera_top 0.04612346448810285 -0.4412504914783782 0.8961978742407863;
delta_DE_function 1;
delta_DE_method 1;
DOF_enabled true;
DOF_focus 1.022912740707397;
DOF_radius 4;
flight_last_to_render 0;
formula_1 8;
formula_material_id 2;
image_height 720;
image_width 1280;
keyframe_last_to_render 0;
mat2_fresnel_reflectance true;
mat2_is_defined true;
mat2_name copper;
mat2_reflectance 0.8100000000000001;
mat2_specular 6.97;
mat2_specular_color ff00 c700 a600;
mat2_specular_width 0.397;
mat2_surface_color dc00 8900 6f00;
mat2_transparency_index_of_refraction 8.960000000000001;
mat2_use_colors_from_palette false;
raytraced_reflections true;
target 1.781962513935456 -0.995608102067906 3.948713967225516;
view_distance_max 81.01597107197888;
volumetric_fog_colour_1_distance 0.06415900641236565;
volumetric_fog_colour_2_distance 0.1283180128247313;
volumetric_fog_density 0.25;
volumetric_fog_distance_factor 0.1283180128247313;
volumetric_fog_enabled true;
[fractal_1]
mandelbox_folding_value 1.4;
[fractal_2]
IFS_rotation_enabled true;
[fractal_3]
IFS_rotation_enabled true;
[fractal_4]
IFS_rotation_enabled true;
Logged
mclarekin
Fractal Senior
******
Posts: 1739



« Reply #1 on: August 18, 2017, 04:13:02 PM »

with this type of fractal it is best to keep the boxfolding value/limit ratio to 2: 1,     so 1.4 : 0.7 will give less bad DE.

 but even better,  do not touch them at all, leave them at 2 & 1 and tweak the other parameters


for Distance Estimation this formula should be set on preferred method and function , not deltaDE (too slow)


BTW I never use those quality optimization button.  For a mandelbox  Just set the raymarching step to 0.7 and that should be good enough in most situations
Code:
# Mandelbulber settings file
# version 2.11
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
camera -1.551241657275412 1.824827916494672 -1.546832227909165;
camera_distance_to_target 0.008633701130747714;
camera_rotation -138.7294440415509 18.3281277810981 -6.742816146542991;
camera_top -0.1177391146505606 0.3121606099237026 0.9427052850670588;
DOF_enabled true;
DOF_focus 1.022912740707397;
DOF_radius 4;
flight_last_to_render 0;
formula_1 8;
formula_material_id 2;
image_height 720;
image_width 1280;
keyframe_last_to_render 0;
mat2_is_defined true;
mat2_name copper;
mat2_specular 6.97;
mat2_specular_color ff00 c700 a600;
mat2_specular_width 0.397;
mat2_surface_color dc00 8900 6f00;
mat2_transparency_index_of_refraction 8.960000000000001;
mat2_use_diffusion_texture true;
target -1.545835630624341 1.818667984072808 -1.54411728709562;
view_distance_max 23.12254295513441;
volumetric_fog_colour_1_distance 0.06415900641236565;
volumetric_fog_colour_2_distance 0.1283180128247313;
volumetric_fog_density 0.25;
volumetric_fog_distance_factor 0.1283180128247313;
volumetric_fog_enabled true;
[fractal_1]
mandelbox_folding_min_radius 0.2;
mandelbox_main_rotation_enabled true;
mandelbox_rotation_main 14.83 8.69 -11.31;
mandelbox_scale -1.5;
[fractal_2]
IFS_rotation_enabled true;
[fractal_3]
IFS_rotation_enabled true;
[fractal_4]
IFS_rotation_enabled true;
Logged
Kyzia
Alien
***
Posts: 28


« Reply #2 on: August 18, 2017, 04:31:39 PM »

Thanks for the reply - I'll try what you've outlined.

As for the DE method, I would typically leave it as Preferred, and had only set it to DeltaDE (linear) this once to see if it made a difference (apart from just making things slower), since adjusting the raymarching step size appeared to have no real effect on the wrong distance percentage - it stayed around 10% irrespective of whether the step size was 1, 0.1, or 0.05 - which is also why I tried the optimization button.
Logged
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #3 on: August 21, 2017, 10:13:16 PM »

since adjusting the raymarching step size appeared to have no real effect on the wrong distance percentage - it stayed around 10% irrespective of whether the step size was 1, 0.1, or 0.05 - which is also why I tried the optimization button.

I'm not quite sure, but when my observation is right, at very low step multiplyers the limitation of 1000 ray-steps prevent an improvement in error percentage, as the max ray steps are reached, before the algorithm is close to the surface. Use the statistics window to check.
At scales close to 1/-1 maybe increasing the number of iterations might also help. The statistics window is useful there too.
Logged

when life offers you a lemon, get yourself some salt and tequila!
taurus
Fractal Supremo
*****
Posts: 1175



profile.php?id=1339106810 @taurus_arts_66
WWW
« Reply #4 on: August 21, 2017, 10:21:19 PM »

Sorry, tried your parameter. None of my assumptions is true here.
Logged

when life offers you a lemon, get yourself some salt and tequila!
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
DE estimation - help needed Mandelbulb Implementation chaospro 3 1852 Last post April 19, 2010, 02:29:28 AM
by David Makin
Fractal animation needed Commission an Artist shufflelot 10 9842 Last post October 02, 2010, 08:49:38 PM
by Sockratease
help needed for introduction chaosTube - History cKleinhuis 4 1361 Last post January 24, 2013, 11:03:59 PM
by Madman
help needed Introduction to Fractals and Related Links logan 5 666 Last post April 30, 2014, 08:38:25 PM
by logan
heightmapifs help needed ! Mandelbulb 3d fanch 2 1460 Last post November 21, 2017, 07:54:17 PM
by fanch

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.504 seconds with 25 queries. (Pretty URLs adds 0.032s, 2q)