Skip to content

LukasPukenis/rustracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running

It is highly adviced to run in release mode as otherwise it's very slow

cargo run --release -- --width 400 --height 400 --output scene1.png --scene scenes/scene_1.json --per-pixel-samples=8 --shadow-samples=10 --threads=8

Parameters

  • width
  • height
  • output
  • scene
  • per-pixel-samples <PER_PIXEL_SAMPLES>
  • shadow-samples <SHADOW_SAMPLES>
  • threads

Examples

Rendered various scenes with various parameters collected over the time showcasing the raytracer

alt text alt text alt text

About

Raytracer written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published