Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

isaacazuelos/mobula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobula

A ray tracer written in rust following Ray Tracing in One Weekend.

The default output is:

current output

The name is the latin name of a taxonomic family.

Why?

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.

Requirements and Installation

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

Usage

Needs an input file, try the included scene1.json.

Try --help to dsee what you can change.

License

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.

About

A ray tracer in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages