Skip to content

Commit

Permalink
Generated final image for 1000 samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ranveeraggarwal committed Oct 3, 2017
1 parent 11443b4 commit 58fc7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/one_weekend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ fn random_scene() -> HittableList {
fn main() {
let filename = "outputs/one_weekend.png".to_string();

let nx: u64 = 480;
let ny: u64 = 320;
let ns: u64 = 100;
let nx: u64 = 1200;
let ny: u64 = 800;
let ns: u64 = 1000;

let cam: Camera = Camera::new(Vec3::new(13.0, 2.0, 3.0), Vec3::new(0.0, 0.0, 0.0),
Vec3::new(0.0, 1.0, 0.0), 20.0, (nx as f64)/(ny as f64), 0.1, 10.0);
Expand Down
Binary file modified outputs/one_weekend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 58fc7cb

Please sign in to comment.