Anti aliasing by multisampling
This commit is contained in:
parent
ab590a4844
commit
9fa51dd71f
7 changed files with 107 additions and 57 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#![feature(array_zip)]
|
||||
|
||||
mod renderer;
|
||||
mod geometry;
|
||||
mod ray;
|
||||
|
|
@ -25,6 +27,9 @@ pub struct Args {
|
|||
/// image height
|
||||
#[arg(long)]
|
||||
height: usize,
|
||||
/// rays per pixel
|
||||
#[arg(long)]
|
||||
multiplier: usize,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue