map-to-gltf
map-to-gltf copied to clipboard
CLI tool for converting .map files to .gltf/.glb
map-to-gltf
CLI tool for converting Valve format .map files to .gltf/glb
How to use
Run $ mtg -h
or check here for instructions.
There's also some docs.
Build prerequisities
- CMake
- Compiler of choice
How to build
-
mkdir build
-
cd build
-
cmake ..
-
cmake --build . --config Release
Limitations
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