Gah - a solution with more questions. – EntropicLqd

Legacy:Brush Sinking

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

This is a technique for adding texture detail to geometry. To see it in action:

  1. build a simple cube and subtract it
  2. build a smaller cube, and place the red builder brush in solid space, so one face of the RBB is coplanar with a surface of the subtracted cube.
  3. add the current shape to the world.

One surface of the additive brush will be visible. This surface "overrides" the larger surface of the subtractive brush. Note that brush order is important.

Left: 3D view – Right: Side 2D view

Examples[edit]

  • The carpeting in UT's DM-Gothic
  • Trim in UT's DM-Grinder
  • DM-Falkenstein

Comments[edit]

Tarquin: As far as I can tell this technique splits polys but doesn't create BSP cuts.

The G.o.a.T: Isn't it better to first substract that smaller cube and then add the smaller cube in that substracted space. I heard that once and I usually do it that way too :/

Tarquin: subtracting the small cube isn't necessary. The Epic maps add trim brushes into solid space.

Birelli: yes, but some of the Epic maps are falling apart at the seams. Try rebuilding one and look for some extra BSP errors. They are definitely unstable but just made workable for the release.

The G.o.a.T: Looking at the Epic maps ain't such a good idea always. There are lots of maps in UT which have messy brushwork, errors (from a technical point a view). To name one DM-Deck16][, this map has several errors.

Tarquin: I haven't had any problems adding into solid space to make trim. CliffyB does it & he tends to have good brushwork. We need the l33t BSP expertise of ChrisToth on this one.

The G.o.a.T: I always make trims with semisolids ;)

EntropicLqd: I generally down one of two things to make co-planar trim. The first is to subtract the brush then re-add it (keeping it the same size) to make the trim, and the second is to use multiple subtractions (use subtracted brushes to create the planes) but I tend not to plan far enough ahead to use this one (unless I'm building a pit). I've found that smiply adding a brush into solid space will give you some nasty HOM effects. I've also had it cause some odd collision errors as well.

Tarquin: The maker of DM-Falkenstein has just informed me that he's used this technique in that map with no problems. It is, AFAIK a design feature of the engine. (I'll maybe draw up a list of things to ask Epic...)

W0RF: One way or the other, subtracting and re-adding seems to be less advisable than it used to be. Adding into subtracted space that borders The Great Barrier seems to produce HOM at random times.

King Mango Subtracting and then adding in the same shape only adds unnecessarily to the complexity of the BSP. If you have problems with sinking, it is because of something else in your level.