Automatic face visibility and NoDraw optimization tool for Source Engine VMF maps.
VmfOptimizer analyzes .vmf map files and determines which brush faces are visible to the player.
It automatically identifies hidden or unreachable faces, then suggests or applies the tools/nodraw texture to them — saving you hours of manual optimization in Hammer.
- Parse
.vmffiles and extract all brush faces - Build an approximate BSP visibility model
- Detect player-visible and hidden faces
- Automatically apply or suggest
tools/nodraw - Optional CLI mode:
VmfOptimizer.exe -path "C:\maps\yourmap.vmf" - Optional GUI preview (later)
- Language: C++
- Parsing: Custom VMF parser
- Geometry: Computational geometry & raycasting
- (Rendering: Optional debug visualizer (OpenGL or ImGui) ) NOT SURE
You can run the tool directly via the command line:
VmfOptimizer.exe -path "C:\maps\yourmap.vmf"The program will:
- Parse your VMF file
- Compute the visibility of all brush faces
- Identify faces not visible from any playable area
- Suggest applying
tools/nodrawto these hidden surfaces
MIT License © 2025 Lumastor (Mr.S)