MCPcopy Create free account
hub / github.com/TrenchBroom/TrenchBroom

github.com/TrenchBroom/TrenchBroom @v2026.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2026.1 ↗ · + Follow
12,488 symbols 33,845 edges 1,567 files 589 documented · 5% updated 6d agov2026.1 · 2026-06-18★ 2,678419 open issues

Browse by type

Functions 9,283 Types & classes 3,205
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TrenchBroom

TrenchBroom Icon

TrenchBroom is a modern cross-platform level editor for Quake-engine based games.

  • Trailer: https://www.youtube.com/watch?v=shcAvnYp9ow
  • Website: https://github.com/TrenchBroom/TrenchBroom
  • Discord: https://discord.gg/WGf9uve
  • Mastodon: https://mastodon.gamedev.place/@trenchbroom
  • Bluesky: https://bsky.app/profile/trenchbroom.bsky.social
  • Video Tutorial Series: https://www.youtube.com/playlist?list=PLgDKRPte5Y0AZ_K_PZbWbgBAEt5xf74aE
  • Manual: https://trenchbroom.github.io/manual/latest

Features

  • General
  • Full support for editing in 3D and in up to three 2D views
  • High performance renderer with support for huge maps
  • Unlimited Undo and Redo
  • Macro-like command repetition
  • Issue browser with automatic quick fixes
  • Point file support
  • Automatic backups
  • .obj file export
  • Free and cross platform
  • Brush Editing
  • Robust vertex editing with edge and face splitting and manipulating multiple vertices together
  • Clipping tool with two and three points
  • Scaling and shearing tools
  • CSG operations: merge, subtract, intersect
  • UV view for easy texture manipulations
  • Precise texture lock for all brush editing operations
  • Multiple material collections
  • Entity Editing
  • Entity browser with drag and drop support
  • Support for FGD and DEF files for entity definitions
  • Mod support
  • Entity link visualization
  • Displays 3D models in the editor
  • Smart entity property editors
  • Supported Games
  • Quake (Standard and Valve 220 file formats)
  • Quake 2
  • Quake 3 (partial, no patches or brush primitives yet)
  • Hexen 2
  • Daikatana
  • Generic (for custom engines)
  • More games can be supported with custom game configurations

Releases

Binary builds are available from releases.

Compiling

Read BUILD.md for instructions.

Contributing

See CONTRIBUTING.md for more information.

Credits

Changes

See releases for latest changes.

Core symbols most depended-on inside this repo

Shape

Method 7,220
Class 3,026
Function 2,063
Enum 179

Languages

C++100%
TypeScript1%
PHP1%

Modules by API surface

lib/TbUiLib/src/MapWindow.cpp217 symbols
lib/KdLib/include/kd/result.h128 symbols
lib/TbUiLib/src/MapViewBase.cpp125 symbols
lib/TbMdlLib/src/Map.cpp115 symbols
lib/TbMdlLib/src/Node.cpp114 symbols
lib/TbGlLib/src/GlDebug.cpp96 symbols
lib/TbUiLib/src/GlQt.cpp94 symbols
lib/TbGlLib/test-utils/src/TestGl.cpp93 symbols
lib/TbUiLib/src/ClipTool.cpp89 symbols
lib/VmLib/include/vm/vec.h83 symbols
lib/TbBaseLib/include/Tokenizer.h64 symbols
lib/TbMdlLib/src/BrushFace.cpp63 symbols

For agents

$ claude mcp add TrenchBroom \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page