https://github.com/statusfailed/weekend-raytracer
https://github.com/statusfailed/weekend-raytracer
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/statusfailed/weekend-raytracer
- Owner: statusfailed
- Created: 2019-10-18T07:06:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T12:00:32.000Z (about 3 years ago)
- Last Synced: 2025-03-26T06:43:54.329Z (12 months ago)
- Language: Rust
- Size: 689 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weekend Raytracer
This is a Rust implementation of the code from
[Raytracing in One Weekend][raytracing-in-one-weekend].
[raytracing-in-one-weekend]: https://raytracing.github.io/books/RayTracingInOneWeekend.html
Here's the final image of the tutorial (image 13-1) produced by this raytracer:

# Building
cargo build
# Running
`main` will output a ppm file to stdout, so if you want a png, you can do this:
cargo run --release > out.ppm && convert out.ppm out.png