Skip to content

Commit ea7421d

Browse files
committed
Upd8 Readme m8
1 parent 16c6c49 commit ea7421d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
![](models/demo/pikachu.gif)
33
A one-of-a-kind command line 3D software rasterizer made with termion, tobj, and nalgebra. Currently it
44
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`
76
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`

0 commit comments

Comments
 (0)