File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
![ ] ( models/demo/pikachu.gif )
3
3
A one-of-a-kind command line 3D software rasterizer made with termion, tobj, and nalgebra. Currently it
4
4
supports OBJ file formats without textures or materials. Here's a really simple command for you to get started.
5
- ` cargo build --release `
6
- ` ./target/release/sloth -r "0 0 90" hand.obj `
5
+ ` cargo run --release -- models/hand.obj `
7
6
For multiple models:
8
- ` ./target/release/sloth -r "0 0 90" "suzy.obj hand.obj" `
7
+ ` cargo run --release -- "models/suzy.obj models/hand.obj" `
8
+ You can also generate a static image:
9
+ ` cargo run --release -- image -w <width_in_pixels> -h <height_in_pixels> models/suzy.obj `
10
+ You can also generate a portable Javascript render like this:
11
+ ` cargo run --release -- image -j <number_of_frames> -w <width_in_pixels> -h <height_in_pixels> models/suzy.obj `
You can’t perform that action at this time.
0 commit comments