This is a Rust implementation of the ray-tracer from Peter Shirley's excellent books, Ray Tracing in One Weekend, Ray Tracing: The Next Week, and Ray Tracing: The Rest of Your Life.
This is not by any means a fully featured ray-tracer. Rather, this is something I built in order to learn Rust and ray-tracing. I am sharing it in case it is useful to others trying to do the same.
Rayt stores and reads scene data in its own format using yaml files. Those are nothing more than a yaml serialisation of the corresponding Rust objects.
There are two modes of operation described in more detail in the next section.
generate which will generate the yaml file for a scene based on presets in the code
render which will render the scene in the given yaml
Various examples from the books are provided in the form of scenes. The generate mode can be used to quickly regenerate the config files after making changes to them in the code, but for small scenes the files can be easily directly edited as well.