Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.23 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.23 KB

vmf_to_obj_solids_mats

Shitty VMF to OBJ converter (Python script). Converts only solid (brush) geometry; objects in OBJ are grouped by materials (optional).

Comparison: изображение изображение изображение изображение

Usage: install Python, install numpy, drag-n-drop VMF(s) to this script. You will get the OBJ files in the same folder where the VMFs are located.

Features:

  • geometry;
  • UV for default texture resolution;
  • UV for different texels (only if VTF founded);
  • materials names;
  • meshes are grouped by materials (optional);
  • vertex normals from sides (no smoothing yet);
  • optional removing geometry with NODRAW material.

TODO:

  • smoothing groups;
  • optimization (removal of identical values);
  • extra vertices weld;
  • hierarchy and naming polishing;