Concave: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎top: Unicodifying)
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Concave simply means hollow at one side. Imagine a brush. It's concave when you are able to draw a straight line through it and make it enter and exit the brush twice. This can only happen when brushes are concave (the opposite of concave is convex) Concave brushes are not allowed in the BSP format. Hammer and the compile tools wil report concave brushes so you can repair them (by [[reshaping solids]]).
{{Underlinked|date=January 2024}}
{{lang|Concave}}
A '''concave''' brush is any brush that is not convex. If a brush is convex, then any imaginary line you could draw from one vertex to another will never be outside the brush. Therefore, if such a line can be drawn, the brush is concave. To put it another way, a brush is concave if any of its vertices sticks inward instead of outward.


[[image:Concave example.JPG]]
Concave brushes are not allowed in the BSP format. Hammer and the compile tools will report concave brushes so you can repair them (by [[reshaping solids]]) if your map is still open.  However, Hammer will not be able to load concave brushes from a saved map. If Hammer cannot fix them when the map is opened, they will be ignored.
 
[[File:Concave example.JPG]]


Note how the left and middle brushes are convex (legal) while the right brush is concave (illegal).
Note how the left and middle brushes are convex (legal) while the right brush is concave (illegal).
== External links ==
* [http://www.vadear.com/koko/?p=220 Concave objects (Vadear.com)]
* [[Wikipedia: Convex and concave polygons]]


[[Category:Glossary]]
[[Category:Glossary]]

Latest revision as of 15:03, 7 January 2024

Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)中文 (zh)Translate (Translate)

A concave brush is any brush that is not convex. If a brush is convex, then any imaginary line you could draw from one vertex to another will never be outside the brush. Therefore, if such a line can be drawn, the brush is concave. To put it another way, a brush is concave if any of its vertices sticks inward instead of outward.

Concave brushes are not allowed in the BSP format. Hammer and the compile tools will report concave brushes so you can repair them (by reshaping solids) if your map is still open. However, Hammer will not be able to load concave brushes from a saved map. If Hammer cannot fix them when the map is opened, they will be ignored.

Concave example.JPG

Note how the left and middle brushes are convex (legal) while the right brush is concave (illegal).

External links