/tinyrenderer

Following the wiki at ssloy/tinyrenderer to learn some Rust

Primary LanguageRustApache License 2.0Apache-2.0

Rust tinyrenderer

This was me learning some Rust while having fun following the first few lessons on the awesome tinyrenderer wiki by ssloy.

Building

(tested with Rust 1.40.0)

$ cargo build --release

Running

You will need a model OBJ file and a diffuse texture map TGA file. You can for example use the obj and diffuse textures from boggie in ssloy/tinyrenderer.

$ target/release/tinyrenderer boggie_body.obj boggie_body_diffuse.tga > boggie.pbm