diff --git a/rtiow/src/renderer.rs b/rtiow/src/renderer.rs index 0eb6e89..9e66553 100644 --- a/rtiow/src/renderer.rs +++ b/rtiow/src/renderer.rs @@ -339,8 +339,7 @@ pub fn render(scene: Scene, output_dir: &Path) -> std::result::Result<(), std::i let time_diff = now - last_time; let pixel_diff = pixel_count - last_pixel_count; info!( - "Woke up {}s passed, {} pixels rendered {} p/s", - time_diff.as_secs_f64(), + "{} pixels rendered {} p/s", pixel_count, pixel_diff as u64 / time_diff.as_secs() ); @@ -350,7 +349,6 @@ pub fn render(scene: Scene, output_dir: &Path) -> std::result::Result<(), std::i }); println!("Rendering with {} subsamples", scene.subsamples); - info!("PIXEL_COUNT {} ", PIXEL_COUNT.load(Ordering::SeqCst)); let mut img = RgbImage::new(scene.width as u32, scene.height as u32); let total = scene.width * scene.height; let mut cur_pixel = 0;