|
Download docs/research/RUST_MD3.md from nmarshall/urt-rs: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/nmarshall/urt-rs/resolve/main/docs/research/RUST_MD3.md
- Command line
-
hf download hf://nmarshall/urt-rs/docs/research/RUST_MD3.md
-
curl -L -o RUST_MD3.md https://huggingface.co/nmarshall/urt-rs/resolve/main/docs/research/RUST_MD3.md
1.31 kB
| # Rust original-byte MD3 asset core and cross-language validation | |
| RE-701. Reproduce with `python3 scripts/analyze_rust_md3.py`; check with `python3 scripts/test_rust_md3.py`. The [machine report](rust-md3.json) retains source identity and bounded fixtures. | |
| The new Cargo workspace contains urt-assets and the urt-md3 inspection CLI, using safe borrowed original bytes and no dependencies. It validates counts/ranges/chain termination/frame agreement/triangle indices and finite frame/tag/UV geometry. Accessors preserve packed signed xyz, normal words and exact float bits. Cross-language validation executes the Rust CLI on every original MD3 occurrence and compares with the independent Python reader, retaining original hashes and three malformed-input rejections. Ten Rust unit tests cover malformed/overflow bounds and signed extrema. Builds run offline; rustc must be on PATH or supplied with RUSTC. This begins the Rust asset foundation, not Bevy/Solari rendering or playable gameplay. Linux execution/native loader parity remain open; no original assets are embedded or changed. | |
| No original executable/full QVM/native collision/physics/rendering executes. Native responses and legal input domains are supplied or unverified where stated; full runtime/macOS/Linux Rust/Bevy/Solari gameplay remains open. | |