diff options
Diffstat (limited to 'src/common.rs')
-rw-r--r-- | src/common.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.rs b/src/common.rs index 4ea9e72..3e606b1 100644 --- a/src/common.rs +++ b/src/common.rs @@ -3,13 +3,13 @@ use crate::calculus::Interval; // "Ideal" aspect ratio, allowing fraction pub const ASPECT_RATIO: f32 = 16.0 / 9.0; -pub const IMG_WIDTH: usize = 400; +pub const IMG_WIDTH: usize = 800; pub const IMG_HEIGHT: usize = get_image_height(IMG_WIDTH, ASPECT_RATIO); -pub const SAMPLES_PER_PIXEL: usize = 100; +pub const SAMPLES_PER_PIXEL: usize = 500; pub const MAX_DEPTH: usize = 50; -pub const VFOV: f32 = 30.0; +pub const VFOV: f32 = 60.0; pub const LOOK_FROM: Point3 = Point3 { x: -2.0, y: 2.0, z: 1.0 }; pub const LOOK_AT: Point3 = Point3 { x: 0.0, y: 0.0, z: -1.0 }; pub const VUP: Vec3 = Vec3 { x: 0.0, y: 1.0, z: 0.0 }; |