diff --git a/scenes/scene.json b/scenes/scene.json index 144d78e..142d078 100644 --- a/scenes/scene.json +++ b/scenes/scene.json @@ -2,10 +2,10 @@ "camera": { "image_width": 1920, "image_height": 1080, - "anti_alias_rate": 1, + "anti_alias_rate": 23, "max_depth": 50, "fov": 90.0, - "look_from": [0, 4, 15], + "look_from": [15, 4, 15], "look_at": [0.0, 0.0, 0.0], "vup": [0.0, 1.0, 0.0], "defocus_angle": 0, diff --git a/src/objects/quad.rs b/src/objects/quad.rs index 9b24ef5..98988f1 100644 --- a/src/objects/quad.rs +++ b/src/objects/quad.rs @@ -19,7 +19,6 @@ pub struct Quad { impl Quad { pub fn new(p1: Vec3, p2: Vec3, p3: Vec3, p4: Vec3, material: Arc) -> Self { - warn!("quad normal {}", (p2 - p1).cross(&(p4 - p1)).get_unit()); Self { p1, p2,