Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 728 Bytes

File metadata and controls

26 lines (18 loc) · 728 Bytes

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