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

https://github.com/jedevc/rust-ray-tracer

Ray Tracing in a Weekend (in Rust, ofc) :tada:
https://github.com/jedevc/rust-ray-tracer

Last synced: over 1 year ago
JSON representation

Ray Tracing in a Weekend (in Rust, ofc) :tada:

Awesome Lists containing this project

README

          

# Rust raytracer

This is a simple and minimal ray tracer, built in a weekend, using the
raytracing book [here](https://raytracing.github.io/books/RayTracingInOneWeekend.html).

![Cover image](https://raw.githubusercontent.com/jedevc/rust-ray-tracer/master/cover.png)

## Running

Build and run the raytracer:

$ cargo run > image.ppm

Then open the file using any relevant viewer. If you don't have one, you can
convert it to a png using ImageMagick:

$ convert image.ppm image.png