CLI tool for converting Valve format .map files to .gltf/glb
Run $ mtg -h
or check here for instructions.
There's also some docs.
- CMake
- Compiler of choice
mkdir build
cd build
cmake ..
cmake --build . --config Release
Currently only parses and works with Valves "220" format.
This tool has been built and tested with Trenchbroom-produced files.
Pull-request are warmly welcome!
Missing features:
- No support for WAD files
- No support for CSG union between polygons yet. It does however merge polygons within a single entity based on their materials.
- Untested on Linux