A one-of-a-kind command line 3D software rasterizer made with termion, tobj, and nalgebra. Currently it supports OBJ file formats without textures.
Javascript Export Demonstration
Here's a few really simple commands for you to get started.
You can replace sloth <args>
with cargo run --release -- <args>
anywhere
sloth models/Pikachu.obj
sloth "models/suzy.obj models/suzy.obj"
sloth models/Pikachu.obj image -w <width_in_pixels> -h <height_in_pixels>
sloth models/Pikachu.obj image -j <number_of_frames> -w <width_in_pixels> -h <height_in_pixels> > src-webify/data.js
Maxgy – Rustfmt lint donbright – STL model loading added, Rustfmt lint jonathandturner – Crossterm port