Automatic face visibility and NoDraw optimization tool for Source Engine VMF maps.
Actually, it's working only on tiny structure and tiny vmf, do not try it on your map now, it won't work. Even on tiny structure, it can be inaccurate
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 - Detect player-visible and hidden faces
- Automatically apply
tools/nodraw - 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 "PathToYourWorkFolder\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)