Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.45 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.45 KB

Screenshot

This is a console program that imports *.osm XML text file, and exports vmf, obj and map . Currently, it uses information only about buildings.

Since only convex polygons can be used in vmf/map, the program uses the polygon decomposition algorithm created by Mark Bayazit.

How to use it

  1. Export osm data from https://www.openstreetmap.org

  2. Execute osm2vmf.exe with path to file as argument

    Optional arguments:

    -obj

    -map

    -novmf

  3. Open created vmf file in imageVHE 4.x or imageHammer++ (map file in imageVHE 3.x, imageJACK or imageTrenchBroom)

  4. Add some entities

  5. Compile and run map