Fixed a commandline argument that was broken.
Also removed a redundant statistics printout.
This commit is contained in:
parent
fdf2b4babf
commit
0cbf851451
|
@ -164,7 +164,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
let max_samples_per_bucket = if let Some(max_samples_per_bucket) =
|
let max_samples_per_bucket = if let Some(max_samples_per_bucket) =
|
||||||
args.value_of("spp") {
|
args.value_of("max_bucket_samples") {
|
||||||
u32::from_str(&max_samples_per_bucket).unwrap()
|
u32::from_str(&max_samples_per_bucket).unwrap()
|
||||||
} else {
|
} else {
|
||||||
4096
|
4096
|
||||||
|
@ -192,7 +192,6 @@ fn main() {
|
||||||
ntime * rstats.ray_generation_time);
|
ntime * rstats.ray_generation_time);
|
||||||
println!("\t\tSample writing: {:.3}s",
|
println!("\t\tSample writing: {:.3}s",
|
||||||
ntime * rstats.sample_writing_time);
|
ntime * rstats.sample_writing_time);
|
||||||
println!("\t\tTotal: {:.3}s", ntime * rstats.total_time);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
println!("Writing image to disk...");
|
println!("Writing image to disk...");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user