Brush (video game)

From Wikipedia, the free encyclopedia

Brushes are templates, used in some 3D video games such as games based on the Quake engine, the Source game engine, or Unreal Engine, to construct levels.[1] Brushes can be primitive shapes (such as cubes, spheres & cones), pre-defined shapes (such as staircases), or custom shapes (such as prisms and other polyhedra).[2][3]

During the map compilation process, brushes are turned into meshes that can be rendered by the game engine. Often brushes are restricted to convex shapes only, as this reduces the complexity of the binary space partitioning process. However, using CSG operations, complex rooms and objects can be created by adding, subtracting and intersecting brushes to and from one another.[4] Additionally, brushes can used as liquids[5] or as an area trigger.[6]

References[]

  1. ^ "Definition of Brush in the Valve Developer Community". Valve. Retrieved 2011-03-24.
  2. ^ Finney, Kenneth V. (2004). 3D Game Programming All in One (Course Technology PTR Game Development Series). Muska & Lipman/Premier-Trade. ISBN 1-59200-136-X.
  3. ^ Holmes, Shawn (2002). Focus on Mod Programming for Quake III Arena. Premier Press. ISBN 1-931841-56-X.
  4. ^ "UDN – Two – BspBrushesTutorial". Epic Games. Retrieved 2012-04-21.
  5. ^ BSP Headquarters - BSP Quake Tutorial #5
  6. ^ BSP Headquarters - BSP Quake Tutorial #6
Retrieved from ""