Skip to content

Commit e6cba8b

Browse files
committed
added in seperate experimental options
1 parent 790aab0 commit e6cba8b

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

high.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
image_width = 1920
22
image_height = 1080
33
rotate = 0
4-
approximation_order = 64
4+
approximation_order = 48
55
glitch_tolerance = 0.001
66
frames = 1
77
frame_offset = 0
88
zoom_scale = 2.0
99
display_glitches = false
1010
auto_adjust_iterations = true
11-
probe_sampling = 15
11+
probe_sampling = 3
1212
remove_centre = false
13-
export = "png"
14-
15-
16-
# These are experimental options
17-
experimental = true
18-
high_precision_data_interval = 100
13+
export = "exr"

high_experimental.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
image_width = 1920
2+
image_height = 1080
3+
rotate = 0
4+
approximation_order = 64
5+
glitch_tolerance = 0.001
6+
frames = 1
7+
frame_offset = 0
8+
zoom_scale = 2.0
9+
display_glitches = false
10+
auto_adjust_iterations = true
11+
probe_sampling = 12
12+
remove_centre = false
13+
export = "png"
14+
15+
# These are experimental options
16+
experimental = true
17+
high_precision_data_interval = 100
18+
valid_iteration_frame_multiplier = 0.75
19+
valid_iteration_probe_multiplier = 0.98

src/renderer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ impl FractalRenderer {
5252
let valid_iteration_frame_multiplier = settings.get_float("valid_iteration_frame_multiplier").unwrap_or(0.75) as f32;
5353
let valid_iteration_probe_multiplier = settings.get_float("valid_iteration_probe_multiplier").unwrap_or(0.98) as f32;
5454
let high_precision_data_interval = settings.get_int("high_precision_data_interval").unwrap_or(100) as usize;
55+
5556
let data_type = match settings.get_str("export").unwrap_or(String::from("COLOUR")).to_ascii_uppercase().as_ref() {
5657
"RAW" | "EXR" => DataType::RAW,
5758
"COLOUR" | "COLOR" | "PNG" => DataType::COLOUR,

0 commit comments

Comments
 (0)