News | Forum | People | FAQ | Links | Search | Register | Log in
The TrenchBroom Level Editor
Today I am releasing TrenchBroom 1.0 for Windows and Mac OS X. TrenchBroom is a modern cross-platform level editor for Quake.

Features
- True 3D editing, no 2D views required
- High performance renderer with support for huge maps
- Vertex editing with edge and face splitting
- Manipulation of multiple vertices at once (great for trisoup editing)
- Smart clip tool
- Move, rotate and flip brushes and entities
- Precise texture lock for all operations
- Smart entity property editors
- Graphical entity browser with drag and drop support
- Comprehensive texture application and manipulation tools
- Search and filter functions
- Unlimited undo and redo
- Point file support
- Automatic backup
- Support for .def and .fdg files, mods and multiple wad files
- Free (as in beer) and open source (GPLv3)
- Cross platform (Windows, Mac OS X and Linux supported)

Check out a video of TrenchBroom in action here.

You can download the editor here.

If you would like to give feedback, please do that in this thread. If you find a bug or have a feature suggestion, please submit them at the issue tracker.

If you are wondering where the Linux binaries are then sorry, but currently there are none. The Linux version has a few problems which I could not fix before this release. I will get working on those right away so that the Linux version should be available in a couple of weeks, too.

Finally, I would like to thank necros for all his work over the past year. Without his tireless efforts, TrenchBroom would simply not exist. Or it would suck.

Alright, enough of this. Have fun with the editor!

Update: 2.1 here:
https://github.com/kduske/TrenchBroom/releases/tag/v2.1.0-RC1
Features "cool shit".
First | Previous | Next | Last
 
Ogre grenade arc preview.

Do it. 
 
Holy shit yes. 
 
But how? It would be much more than an arc and ogres don't stand still. 
Just Make It 
Playable in editor. 
 
Wow, I've never considered an Ogre arc preview before ... cool idea!

And how about a "Fiend will fuck up and get stuck here" marker. As long as we're asking for stuff... 
Really Interesting Idea, Lun. 
 
As Long As We're Wishing... 
While you're at it add operating doors, platforms, and animated func_train/path corner combinations, etc. (actually, I seem to remember an old version of Radiant that had some of this). 
 
Some automated way to set up pathing networks would be awesome too. Select all the path_corners you want, in the correct order, hit hot key, enter a base name, and it gives them all a unique target/targetname combo that links them together. Easy patrols. 
Yes 
Some automated way to set up pathing networks would be awesome too.

That's basically what I was saying. I'm certain there was a version of Radiant that did this. It didn't automatically name everything, but once you had it set up it would animate it in the editor and you could see the stuff move in the 3D view the same as it would in game.

It's possible it was a plug-in of some kind. I remember using it when I was working on a Quake 2 map, maybe 10 years ago. 
Automated Pathing 
I will try to make entity "scripting" easier, that is, provider some way for quickly setting up paths and logic gates. I don't think I'll be doing in-editor animation though because that would be very specific for every game, and TB2 is not going to be limited to Quake. 
Degrading Behaviour 
I've been having some fun messing around with Trenchbroom on my poor old laptop here, and I've found a way to reduce the complexity of the face shader (at a small cost to quality). If you've previously hit an error when launching Trenchbroom and would like to try tweaking it to see if reduced graphics settings help, then open up Face.fragsh in the Resources folder in a text editor, and change the getSoftStripes function as follows:

float getSoftStripes(float value, float gridSize, float stripeSize) {
��float mainVal = value * gridSize;
��float triangle = abs(2.0 * fract(mainVal) - 1.0);

��float sSize = stripeSize;

��return step(sSize, triangle);
}

This gets rid of the anti-aliasing on the lines and the bolder lines every 64 units, so you wouldn't want to apply it generally, but if your graphics card is as weak as mine it might just get things running! 
 
IIRC, AFAIK, BBQ, ( TB1 at least ) didn't do an Early Z Prepass or similar, so shaders are potentially invoked quite a lot, even if the fragments don't end up visible.

Whats your laptop's hardware like ?
Do you know which OpenGL Version it runs ? 
Thanks 
I put this in the issue tracker and I'll add it when I get around to it. Maybe there are a few other places where I could disable some stuff to get better performance. 
Hey, Whoa, No 
Unless you're gonna put a low-graphics fallback or option in don't go adding it in blindly. You lose features, I only wanted it to be there for people who can't use Trenchbroom otherwise. Loving the editor btw, really is quick and intuitive to use. 
Yes 
I would only add this together with other features which would make the editor usable for people with low end hardware, basically like a "safe mode" option.

And thanks for the nice words, happy that you like it! 
 
yeah, went back to radiant for a bit and while the 2d views are useful, it felt awkward and slow working in radiant's 3d view. 
2D Views Are Coming To TB2 
Yeah, I caved. Some things are easier to do in 2D than in 3D. TB2 will have two layouts, a Hammer-like 4-pane view for incest enthusiasts and a full size layout where you toggle between 3D and XY, XZ and YZ views with the tab key. 
Maybe Another Layout 
With 3D view and 2D view side by side, using tab to cycle through the 2D views. 
 
2d view is good for making accurate measurements, something I really found difficult when I first started with trenchbroom. I don't feel like I need it much now, infact it may have been a bit of a crutch.

I'm looking forward to 2 things from next versions of TB, making maps for other games and making quake maps with 220 format texture accuracy. 
 
a Hammer-like 4-pane view for incest enthusiasts

lmao, but yeah, thanks for this. I love 4 views. I find the single view at a time way too limiting; having access to all 3 axes at onces helps me keep a better overview of what's going on. A nice toggle to go straight to full screen 3d (maybe camera centered on current or last selected brush/entity?) would be fantastic. The more fluid 2d <-> 3d, the better!

I don't feel like I need it much now, infact it may have been a bit of a crutch.
I often have to make 'measurement' brushes to get the precision I want which slows things down for me. But even with that, I still prefer TB to anything else right now. 
I've Read That Trenchbroom Has Support For Huge Maps 
how do I enable that feature? 
What Do You Mean By Huge? 
I think TB currently limits you to -8192 to +8192, if you need to raise those limits, then this is currently not supported. 
I'm Outside Those Limits 
But those areas aren't playable.

To enable the feature:

Step 1: Build a huge map 
*I Ment Large, Sorry 
 
Grumpy Today 
As SleepWalkR says, there is the +/- 8192 limit, but this is only visible in engine.

In many editors (WC is an exception) this limit is not even visible and you can just keep building forever.

Trenchbroom is like this, at least in current release version; without anything delineated to say 'won't work beyond this point'.

In any case this is an engine limitation; I don't think it'd be good to retrofit TB to impose it as well since that'd affect development for other games.

I think FTE allows for gameplay outside the 8192 limit in Q1 as well. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.