Brush (video game)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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]

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.[3] Additionally, brushes can used as liquids[4] or as an area trigger.[5]

References[edit]

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