Skip to content

BlackCloud37/rust-smallpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Smallpt

A very simple implementation of smallpt.

Results

400spp cornel box

How to run it?

  • cargo run in the root directory

Arguments

  • Sample per pixel: main.rs:20
    • Default: 100(*4)
  • Image width: main.rs:20
    • Default: 512
  • Image height: main.rs:20
    • Default: 384
  • N workers: camera.rs:32
    • Default: 16

About

A very simple implementation of smallpt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages