Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 828 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 828 Bytes

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

  1. CMake
  2. Compiler of choice

How to build

  1. mkdir build
  2. cd build
  3. cmake ..
  4. 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