From 46f28e9b6577f840b796cae9986e19a2fca539c2 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Fri, 28 May 2021 19:59:32 +0200 Subject: [PATCH] tweak quality --- in_one_weekend/src/main.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/in_one_weekend/src/main.zig b/in_one_weekend/src/main.zig index 55b97a8..e3600dd 100644 --- a/in_one_weekend/src/main.zig +++ b/in_one_weekend/src/main.zig @@ -175,11 +175,11 @@ pub fn main() anyerror!void { // Image - const aspectRatio: f32 = 16.0 / 9.0; + const aspectRatio: f32 = 3.0 / 2.0; const imageWidth = 600; const imageHeight = @floatToInt(usize, imageWidth / aspectRatio); - const samplesPerPixel = 100; - const maxDepth = 50; + const samplesPerPixel = 128; + const maxDepth = 16; // World var world = World.init();