Software:Brush (video game)

From HandWiki
Revision as of 07:37, 9 February 2024 by Wincert (talk | contribs) (fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Video game templates

Brushes are templates used in some 3D video game engines, such as the Quake engine, its derivatives the GoldSrc and Source game engines, or the Unreal Engine, to construct levels.[1] Brushes can be primitive shapes (such as cubes, spheres and 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 be used as liquids[5] or as an area trigger.[6]

References

  1. "Definition of Brush in the Valve Developer Community". Valve. http://developer.valvesoftware.com/wiki/Brush. 
  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. http://udn.epicgames.com/Two/BspBrushesTutorial.html. 
  5. BSP Headquarters - BSP Quake Tutorial #5
  6. BSP Headquarters - BSP Quake Tutorial #6