Getting Started
...
Glossary
#-G Terms

Concave

3min

A concave polygon in computer graphics is a polygon that has at least one angle greater than 180 degrees. Concave polygons can be used to create a variety of different shapes, such as cups, bowls, and other curved objects.

Here are some examples of concave polygons:

  • A triangle with one angle greater than 180 degrees: A triangle with one angle greater than 180 degrees is a concave polygon. This is because the sum of the angles in a triangle must be 180 degrees, and if one angle is greater than 180 degrees, then the other two angles must be less than 180 degrees.
  • A quadrilateral with one angle greater than 180 degrees: A quadrilateral with one angle greater than 180 degrees is also a concave polygon. This is because the sum of the angles in a quadrilateral must be 360 degrees, and if one angle is greater than 180 degrees, then the other three angles must be less than 180 degrees.

Here are some of the benefits of using concave polygons in computer graphics:

  • They can be used to create a variety of different shapes: Concave polygons can be used to create a wider variety of shapes than convex polygons. This is because concave polygons can have holes in them, which convex polygons cannot.
  • They can be used to create more realistic objects: Concave polygons can be used to create more realistic objects because they can be used to represent the curved surfaces of objects.

Here are some of the drawbacks of using concave polygons in computer graphics:

  • They can be more difficult to render: Concave polygons can be more difficult to render than convex polygons because they have more edges and vertices. This is because each edge and vertex must be calculated individually when rendering a concave polygon.
  • They can be more difficult to tessellate: Tessellation is the process of dividing a polygon into smaller polygons, and concave polygons can be more difficult to tessellate than convex polygons. This is because the smaller polygons must be created in a way that preserves the concave shape of the original polygon.

Overall, concave polygons offer a number of benefits, but they can also have some drawbacks. It is important to consider the needs of your application when deciding whether or not to use concave polygons.

Feedback

Please be sure to submit issues or feature requests through the embedded feedback form. In the event it is a major issue please contact us directly through Discord.

Updated 03 Apr 2024
Doc contributor
Did this page help you?