Brush primitives for Trenchbroom

ENEMY!!!

Member
Jul 11, 2022
25
27
13
ENEMY!!! submitted a new resource:

Brush primitives for Trenchbroom - A set of cylinders, bevels, extruded arches, pipes and a cone

Trenchbroom is the most popular editor for Quake these days but one downside is that it lacks primitives, so mappers have to construct basic shapes from scratch, which can be tedious and time consuming. With this map I aim to help address that with a wide ranging set of primitives:
  • Cylinders - 4, 6, 8, 10, 12, 16, 20 and 24 sided
  • Extrusions - 16, 32, 64 and 128 wide (especially intended for trims and arches)
  • Bevels (especially intended for arches)
  • Pipes (standard 24 sided...

Read more about this resource...
 
I've had some further feedback on this from bal in particular (which is significant as bal's maps are consistently among my favourites in the various jams), and plan to release a major update in the next couple of weeks which focuses far more on pre-texturing stuff and extruding stuff from the standard CZG 12 and 24-sided cylinders.
Also, instead of having a bunch of cylinders with different numbers of sizes I intend to look into other commonly used shapes, as a variety of different shapes may be more useful for most. My current plan going forward is to keep the current version available as primitives_v1 and to add a primitives_v2 which will be the new version.
I also intend to include more documentation with the next release. I realise that with this release I included a txt file but forgot to actually add contents to it...
 
  • Like
Reactions: Colossus
ENEMY!!! updated Brush primitives for Trenchbroom with a new update entry:

Primitives map for Trenchbroom v2

This is a somewhat revamped primitives map which contains:
12 amd 24-sided CZG curves at 1024x1024, 768x768, 512x512, 384x384 and 256x256.
For 12-sided ones 192x192, 128x128, 96x96 and 64x64 versions are also included.
Bevels and extruded trims are included - all pre-textured. The extrusions are intended
to be ideal for creating arches as well as cylinders.

Each set of extrusions has been extended 32 units in both directions from the base shape.
There are 4 different sizes of pipes with...

Read the rest of this update entry...
 
Any chance of another update? Downloaded this and i've found that a few primitives here are off-grid, which will make them significantly more difficult to work with. A fix for that would be really nice, rebuilding them so they are no longer off-grid.

These pipes here are particularly problematic, and I'm sure theres a way to build them to not be off-grid, or at the very least have zero non-integer vertices.
1717055966404.png
 
I'll have another look at it over this weekend. I tried to make sure that it was all on grid for v2, but it's feasible that some of the more complex shapes, particularly the pipes, may have slipped through - having got more experienced with Trenchbroom over the past year I might well be able to improve on what's currently there.
 
I identified the problem, I had been broadly following Bal's advanced curves tutorial over at dumptruck_ds, but Bal made sure that the shapes that made up the curves were powers of 2 wide.
The problematic "pipes" are meant to be curved tunnels. My error was making my tunnels 256 and 512 units between the two inner sides, which meant that when you measure between the outer sides (which determine whether it stays on grid when I extrude) it comes to 320 and 576 units, respectively. It appears to be due to this that they end up somewhat off grid. Version 3 should be out soon which will address that issue by having 256 and 512 unit wide tunnels, I can already see that they are staying on grid as a result (occasionally down to grid size 2, but no lower than that). The pipes should be fine as their widths are all powers of 2.
 
Last edited: