mirror of
https://codeberg.org/icewind/vmdl.git
synced 2026-06-03 08:34:23 +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
18
README.md
18
README.md
|
|
@ -2,4 +2,20 @@
|
|||
|
||||
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