Add MSH geometry export and preview rendering tools
All checks were successful
Test / Lint (push) Successful in 46s
Test / Test (push) Successful in 41s

- Implemented msh_export_obj.py for exporting NGI MSH geometry to Wavefront OBJ format, including model selection and geometry extraction.
- Added msh_preview_renderer.py for rendering NGI MSH models to binary PPM images, featuring a primitive software renderer with customizable parameters.
- Both tools utilize the same NRes parsing logic and provide command-line interfaces for listing models and exporting or rendering geometry.
This commit is contained in:
2026-02-10 23:27:43 +00:00
parent ba1789f106
commit 5035d02220
8 changed files with 3268 additions and 393 deletions

View File

@@ -23,10 +23,8 @@ theme:
nav:
- Home: index.md
- Specs:
- NRes / RsLi: specs/nres.md
- 3D модели: specs/msh.md
- Текстуры и материалы: specs/textures.md
- Эффекты и частицы: specs/effects.md
- NRes / RsLi: specs/nres.md
- Форматы 3Dресурсов: specs/msh.md
# Additional configuration
extra: