A ray tracer written in rust following Ray Tracing in One Weekend.
The default output is:
The name is the latin name of a taxonomic family.
I wrote a half-broken ray tracer as part of a computer graphics course years ago. I've wanted to do a better job since — and it's a fun excuse to use rust.
You'll need cargo
and rust stable 1.16 (at least that's what I
used.)
You can fetch the project with git
:
$ git clone https://github.com/isaacazuelos/mobula
and build it with Cargo:
$ git clone https://github.com/isaacazuelos/mobula
$ cd mobula
$ cargo build --release
$ ./target/release/mobula
Needs an input file, try the included scene1.json
.
Try --help
to dsee what you can change.
Since I didn't write the original code, I'm honestly not sure about the legal status of this, so I didn't include a license.