mirror of
https://codeberg.org/icewind/vmdl.git
synced 2026-06-04 00:54:14 +02:00
add example notes to readme
This commit is contained in:
parent
886bcb3c1a
commit
0377223955
1 changed files with 17 additions and 1 deletions
16
README.md
16
README.md
|
|
@ -3,3 +3,19 @@
|
||||||
Rust parser for source engine model files (`.mdl`, `.vtx`, `.vvd`)
|
Rust parser for source engine model files (`.mdl`, `.vtx`, `.vvd`)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
All examples require the `.mdl`, `.vvd` and `.dx90.vtx` to be next to each other and TF2 to be installed to load the texture data from.
|
||||||
|
|
||||||
|
## Viewer
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run --release --example view <path-to-mdl>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Convert to gltf
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo run --release --example gltf <path-to-mdl> <path-for-output-gtb>
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue