Geometry, or a polygon mesh, is a collection of vertices, edges, and faces that make up the shape of a 3D object. This 3D object can be a car, weapon, environment, character, or any type of asset that appears in a video game.
The following diagram shows the three elements that make up the geometry of a 3D object:
The elements are as follows:
- Vertices are the points that make up the surface of a 3D object.
- Edges connect two vertices with a straight line.
- Triangles consist of three vertices that are connected to each other by three edges. Other terms for a triangle include polygon and face.
Note: With 3D software like Max, Maya, or Blender, you often use a four-sided polygon called a quad. Quads can be easier to modify and work within these 3D programs. When rendered on-screen, all of these polygons are displayed as triangles.