Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 636 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 636 Bytes

This is simple path tracer with following properties

  • Only lambertian diffusion for now
  • Signed distance function defined objects
  • Ray marching tracing
  • No performance optimazation whatsoever

Running

  • insall carog-script
cargo install cargo-script
  • run
# output will be stored in `path-tracer-output.png`
./path-tracer.rs

Output

Samples: 1024 Bounces: 3

s1024b3

Samples: 4096 Bounces: 3

s4096b3

Samples: 32768 Bounces: 4

s32768b4