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
- insall
carog-script
cargo install cargo-script
- run
# output will be stored in `path-tracer-output.png`
./path-tracer.rs
Samples: 1024 Bounces: 3
Samples: 4096 Bounces: 3
Samples: 32768 Bounces: 4