An open API service indexing awesome lists of open source software.

https://github.com/devmattrick/raytracer

a simple ray tracer written in rust for fun and learning
https://github.com/devmattrick/raytracer

raytracing raytracing-one-weekend rust

Last synced: 12 months ago
JSON representation

a simple ray tracer written in rust for fun and learning

Awesome Lists containing this project

README

          

# raytracer
![Example of raytracer output](sample.png)
A simple ray tracer written in Rust following
[this tutorial](https://raytracing.github.io/books/RayTracingInOneWeekend.html).

## running
To run this you'll need Rust and cargo installed, as well as a way to view ppm images (I'm using
[ImageGlass](https://imageglass.org/)).

```
# run the raytracer and output to test.ppm
cargo run > out.ppm

# ...grab a coffee or something...you'll be waiting a while

# In WSL2 you can use this to automatically open in the default app
wslview out.ppm
```