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
Re: Extra Face Attribute 
But what does the extra face attribute mean? No one seems to know.
Look at the bsp5.h and map.h headers of hexen2 utils: it is Light. face_t struct has Light as its last member as a 32 bit integer. mbrush_t struct has Light as a 32 bit integer as its last member. 
Thanks 
So it's unused? 
@SleepwalkR 
So it's unused?
Right, not used in the end. When the face structure is translated from map to compiled bsp, it is not used, because the dface_t structure (bspfile.h) is the same between q1 and h2. However, an h2 map must have that token in order to be parsed correctly and compiled. 
Alright 
Thanks for clearing that up. 
TrenchBroom 1.0.8 
- Fix the rotation tool
- Allow snapping faces to the grid when resizing brushes
- Improved major grid line shading (rebb)
- Fixed umlauts in About dialog

Downloads: http://goo.gl/0eL9u 
W00t... 
fixed rotation tool!

time to upgrade! 
Tutorial Videos... 
May be coming soonish btw. Meeting up with my friend on Thursday to do a few test runs (and hopefully to properly film some stuff)... 
Rotation Tool.. 
is still acting a little weird, upon selecting entities the rotation tool seems to centre on the last brush that was selected rather than the entity itself. It's better than before of course, but not as good as the original implementation. 
Open A Bug Please 
 
Sure Thing... 
where's the feature request bit btw? 
TrenchBroom 1.0.9 
- Fix the rotation tool handle position

Download: http://goo.gl/0eL9u 
Dude... 
You need to find a place to mirror this thing, 19kb/s download speed is a little too "nostalgic" for my tastes. ;) 
Not A Problem Of This Server 
Or it's a fluke, but most probably it's just a temporary thing. 
SleepwalkR 
The binary produces the following error on my Ubuntu 12.04 32 bit:

jonas@gjallarbru:/opt/TrenchBroom$ ./TrenchBroom
../src/unix/glx11.cpp(87): assert "xid" failed in SetCurrent(): window must be shown

(TrenchBroom:28246): Gtk-CRITICAL **: IA__gtk_window_resize: assertion `width > 0' failed
Segmentfejl

I have wxwindows 2.8.12. There is something about this error in the wxwidgets forum here:

http://forums.wxwidgets.org/viewtopic.php?t=29948&p=128726

I'm almost curious enough to compile it myself now. :-s 
 
wxwindows... wxwidgets of course. 
 
I compiled my own debug binary of TB now. Same error.

Some thoughts:

Why does the Linux Build.txt instruct us to compile our own version of WxWidgets (twice)?

Also, and I found this interesting -- have you ever tried running Linux TB through Valgrind? The output is remarkable. 
Gb 
I have seen that error before, but mostly on virtual machines. It is related to a hidden window that I use to set up some shared resources for the renderer(s). What card / driver are you using?

TrenchBroom requires wxWidgets 2.9.4. 2.8 doesn't work. Since there's no official package repository yet for 2.9.4, you need to compile it yourself.

I haven't rund TB through Valgrind because I didn't want to drown in a sea of false positives. TB uses a custom allocator for many classes that speeds up memory allocation a lot, but this leads to false positives. I know from inspecting that TB doesn't have big memory leaks. In fact, I couldn't find a single leak in the current build. 
That's Not To Say 
that it doesn't have leaks. I'm sure it does - just no biggies as far as I can say. I'll run it through VG anyway.

Also, "the output is remarkable" - how you just tell me what you see instead of making me guess ;-) 
How About 
jesses 
And Finally 
Can you be more specific when you say "run through Valgrind"? Which tests did you run? 
 
I just ran the standard test - mainly because I wanted to see if it came up with more info about the error message. I was a bit amazed at the sheer amount of output and the final error count it reported. If you say most of that is false positives, I'll take your word for it but it looked pretty crass.

The wxwidgets compile is pretty lengthy and, especially since we're instructed to do it twice, acts as a bit of a hurdle if someone just wants to try the editor. 2.8.12 is reported to be the official stable version so I wondered if using the dev version is strictly necessary. Apparently it is.

I use a Geforce 6 series card with Nvidia blob 304.64. 
Hmm 
What's the "standard test"? Valgrind typically reports lots and lots of problems. If it was a memory leak test, there will be many false positives, yeah. If it was a cache grind test, then it will moan a lot too because TB's codebase is not optimized for such things (it's just not necessary).

TB requires wxWidgets 2.9 because that has much better support for Mac OS X.

I'll see what I can do about the error message. 
Hmm 2 
The current build runs on my machine, which also has an NVidia card (it's a MacBook Pro). I'm also running Ubuntu 12.04 with the "version current" NVidia driver. How do I find out which version of the driver I am running? 
Valgrind 
How exactly did you run Valgrind? From Code::Blocks? 
 
In the Nvidia control panel, accessible from the systems submenu (not sure what it is in English), you can find your driver version. I got mine from the Nvidia site, after something necessitated a driver upgrade, instead of it being the default-provided Ubuntu driver.

I simply ran valgrind ./TrenchBroom. So it would have been the memory check.

Granted, a lot of it probably is from wxwidgets or GTK, too. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2025 John Fitzgibbons. All posts are copyright their respective authors.