Skip to content

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

License

Notifications You must be signed in to change notification settings

Ambiabstract/vmf_to_obj_solids_mats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages