Skip to main content

Polyforge

Learn

Mesh Topology Quads, Triangles, and N-gons

The polygon types you choose during modeling affect everything downstream: subdivision quality, animation deformation, file format compatibility, and rendering performance. This guide explains what each polygon type does, when to use it, and what happens during file conversion.

15 min read
By Polyforge · Published Mar 22, 2026 · Updated Mar 28, 2026
LEARN
Fundamentals

Why Topology Matters

You can build two models that look identical on screen but behave completely differently when you try to animate them, subdivide them, or export them to another format. The difference is topology: the arrangement of vertices, edges, and faces that make up a mesh's surface.

Understanding the difference between triangles, quads, and n-gons is one of the most practical things you can learn in 3D. It determines whether your character rig deforms cleanly at the joints, whether subdivision produces smooth surfaces or pinched artifacts, and whether a file conversion preserves or destroys your work.

$ contents
$ definition

What Is Mesh Topology?

Mesh topology is the structural arrangement of vertices, edges, and faces that make up a 3D model's surface. It describes how these geometric elements connect to form the shape, not the shape itself.

Think of it like the wireframe under the paint. Two car models can have the same silhouette but completely different wireframe layouts. One might deform smoothly when you open its doors in an animation. The other might crumple and stretch because the edges are running in the wrong direction.

Good topology means clean, predictable edge flow that follows the surface's natural contours. It means consistent polygon density that matches the level of detail each area needs. And it means proper vertex valence, which is the number of edges meeting at each vertex.

Three types of polygons make up every mesh: triangles (3 sides), quads (4 sides), and n-gons (5 or more sides). Each has distinct advantages and trade-offs, and choosing the right one for each part of your model is a core modeling skill.

$ triangles

Triangles: The Foundation of Real-Time Rendering

A triangle is the simplest polygon: three vertices, three edges, one face. It is the only polygon type that GPUs can render directly, and every other polygon type is eventually converted to triangles before it reaches the screen.

Why GPUs only render triangles. Three points in 3D space always define exactly one flat plane. A triangle can never be bent, twisted, or ambiguous. Quads and n-gons, by contrast, can have their vertices sitting on different planes, which makes their surface mathematically undefined. GPU rasterization pipelines are built entirely around triangle primitives because of this guaranteed planarity.

Performance is not just about count. It is tempting to think that fewer triangles always means better performance, but that is only half the story. GPUs process pixels in 2x2 blocks. When a triangle is so small that it covers only one pixel in a 2x2 block, the GPU still processes all four pixels and discards three of them. This means tiny triangles can waste up to 75% of shader work. Triangles covering areas smaller than roughly 8x8 pixels start causing measurable performance drops. A mesh with fewer but larger, well shaped triangles will outperform a mesh with the same total area covered by many tiny slivers.

When to use triangles. Triangles are the natural choice for any final delivery format intended for real-time rendering: game engines, web viewers, AR experiences. They are also required by 3D printing formats like STL and 3MF. Scan data from photogrammetry and 3D scanners produces triangle meshes naturally. And Loop subdivision, a scheme designed specifically for triangles, works well when your input mesh is already triangulated.

The downside. Triangles break edge loop flow, making it harder to select and manipulate continuous rings of edges during modeling. A triangle in the middle of a quad surface disrupts the clean rows that modelers rely on for detail control. This is why artists model in quads and only triangulate at export time.

$ quads

Quads: The Industry Standard for Modeling

A quad is a four-sided polygon with four vertices and four edges. It is the preferred polygon type for 3D modeling across every major industry, from games to film to product design. The reason comes down to three things: subdivision, edge loops, and deformation.

Subdivision surfaces. Catmull-Clark subdivision, the algorithm behind nearly every "Subdivide Smooth" button in 3D software, was designed for quad meshes. It was introduced in 1978 by Edwin Catmull (co-founder of Pixar) and Jim Clark, and it remains the industry standard almost 50 years later. When applied to a quad mesh, each quad splits into four smaller quads, producing smooth, predictable surfaces. After a single level of Catmull-Clark subdivision, the entire output mesh consists of quads, even if the input had some triangles mixed in.

Triangles in a Catmull-Clark mesh create "extraordinary vertices" (also called poles or star points): vertices where the number of connecting edges is not four. These points cause the surface continuity to drop from C2 (curvature-smooth) to C1 (tangent-smooth), which can produce visible pinching or waviness. A mesh that is all quads avoids extraordinary vertices entirely, except at intentional poles placed in areas where their artifacts are least visible.

Edge loop flow. Quads create continuous edge loops: chains of edges that run across the surface in predictable paths. These loops are essential for character animation because they must follow the natural deformation paths of the body. Edge loops need to circle the eyes and mouth for facial rigs. They need to run perpendicular to the bend axis at every joint: elbows, knees, shoulders, fingers. Quads make it straightforward to insert, select, and slide edge loops to add detail exactly where the mesh needs it.

Deformation quality. When a character bends an elbow or smiles, the mesh vertices move according to the skeleton weights. Quads distribute this deformation evenly because each face has four edges that can share the stress. Triangles in deforming areas cause unpredictable pinching because the rigid diagonal edge does not flex the same way its neighbors do. This is why rigging artists are particular about topology: a character with clean quad flow at the joints will look natural in motion, while one with scattered triangles will show stretching and creasing.

The trade-off. Unlike triangles, a quad can be non-planar. Its four vertices might not lie on the same plane, which makes the surface technically ambiguous. Different renderers may split the same non-planar quad along different diagonals, producing slightly different shading results. This is one reason why triangulation at export time matters: it locks in the intended surface so that every renderer sees the same geometry.

$ ngons

N-gons: When They Help and When They Break Things

An n-gon is any polygon with five or more sides. In online forums, n-gons are often treated as universally bad, but the reality is more nuanced. They cause real problems in specific situations, and they are perfectly fine in others.

Where n-gons cause problems. Catmull-Clark subdivision converts n-gons into complex patches that produce pinching, poles, and uneven tessellation. The larger the n-gon, the worse the artifacts. Non-planar n-gons produce inconsistent face normals and visible shading glitches, because an n-gon with five or more vertices has a very high chance of being bent. Different renderers and exporters will triangulate the same n-gon in different ways, producing inconsistent results across tools. And n-gons break edge loop selection, making subsequent modeling operations difficult.

Where n-gons are acceptable. On flat, non-deforming surfaces, n-gons work fine. Walls, tabletops, mechanical flats, and any planar surface where the face will never be subdivided or animated can safely use n-gons. They are common and acceptable in high-poly source meshes used only for baking normal maps, where the actual face structure does not matter because the mesh is only sampled for surface detail. During the early blocking and concept stages of modeling, n-gons are acceptable as temporary geometry that will be cleaned up during retopology.

In deforming areas, n-gons are unacceptable. When an n-gon sits on a joint or facial area that moves during animation, its triangulation pattern changes from frame to frame. This produces flickering and popping artifacts that are impossible to fix without reworking the topology. There is no workaround. If the area deforms, it needs quads.

Software handling. Blender has full n-gon support in edit mode and provides a "Select Non-Planar Faces" tool to catch problematic ones. Maya supports n-gons but flags them during Cleanup operations. 3ds Max supports them and can triangulate on export via FBX. Game engines like Unity and Unreal automatically triangulate all n-gons on import without any warning.

$ compare

Side by Side Comparison

This table summarizes how each polygon type behaves across the operations that matter most during production.

Property Triangles Quads N-gons
Always planar Yes No No
GPU rendering Native Triangulated first Triangulated first
Catmull-Clark subdivision Creates poles Clean results Severe artifacts
Edge loop flow Disrupts loops Clean loops Breaks loops
Animation deformation Unpredictable pinching Even distribution Flickering artifacts
UV mapping Potential diagonal seams Predictable mapping Inconsistent mapping
Modeling workflow Difficult to edit Standard workflow Fast for blocking
3D printing Standard format Triangulated on export Triangulated on export
$ formats

File Format Compatibility

Not every 3D file format can store every polygon type. Some formats support only triangles. Others preserve quads and n-gons exactly as authored. Knowing which format supports what is essential when choosing an export target, because exporting to a triangle-only format permanently destroys your quad topology.

Format Triangles Quads N-gons Notes
GLB / glTF Yes No No Triangle primitives only
OBJ Yes Yes Yes Preserves exact topology
FBX Yes Yes Yes May auto-fix non-manifold n-gons
STL Yes No No One triangle per facet
PLY Yes Yes Yes Variable vertex count per face
USD / USDZ Yes Yes Yes OpenSubdiv subdivision support
DAE (COLLADA) Yes Yes Yes Supports polygons with holes
3DS Yes No No Triangulates on export
3MF Yes No No Triangles only, must be manifold
Keep your source files in a quad-friendly format. If you work in Blender, Maya, or 3ds Max, save your source file in the application's native format. When exporting for the web or games, use GLB. When exchanging files with other modelers who need to edit topology, use OBJ or FBX.
$ conversion

What Happens During File Conversion

File conversion is where topology decisions become permanent. Understanding what each conversion path does to your polygons helps you avoid surprises and data loss.

Quad format to triangle format (for example, OBJ to GLB). Every quad is split into two triangles by adding a diagonal edge. The exporter chooses which diagonal to use, and different exporters may choose differently. On a flat quad this does not matter, but on a non-planar quad, the choice of diagonal changes the visible surface shape and can affect shading. N-gons are triangulated using fan triangulation (for convex shapes) or ear clipping (for concave shapes). The resulting mesh has roughly twice as many faces as the original, though the vertex count stays the same.

Triangle format to quad format (for example, GLB to OBJ). Triangles are written as 3-vertex faces. They are not automatically merged back into quads. Automatic triangle-to-quad conversion exists in tools like Blender's "Tris to Quads" operator, but it only works well on meshes that were originally modeled with quads and then triangulated in a consistent pattern. Arbitrary triangle meshes, such as photogrammetry scans, do not convert cleanly to quads.

Quad format to quad format (for example, OBJ to FBX). When both formats support quads, topology can be preserved with no data loss. This is the safest conversion path for models that need to remain editable.

The key takeaway: converting from a format that supports quads to a triangle-only format is a one way operation. Your quad structure is destroyed and cannot be reliably reconstructed. Always keep your original source file in a format that preserves topology.

$ budgets

Polygon Budgets by Platform

Triangle counts vary enormously depending on where your model will be displayed. These are practical guidelines based on current hardware capabilities and platform requirements, not absolute limits.

Platform Characters Props / Environment Notes
Mobile games 5K to 20K tris 500 to 5K tris Entire scene: hundreds of thousands total
PC / console games 15K to 100K tris Varies widely AAA characters can reach 250K tris
Web / e-commerce N/A 10K to 100K tris per model Draco compressed GLB recommended
AR (iOS and Android) N/A Under 100K tris recommended Apple recommends 4 to 8 MB file size
Film / VFX 10K to 500K (control mesh) Varies widely Subdivision adds millions at render time

Games. Mobile characters typically use 5,000 to 20,000 triangles with multiple LOD (level of detail) stages. PC and console titles have more headroom. The character 2B from Nier: Automata uses about 100,000 polygons. Characters in Ryse: Son of Rome used about 85,000. The overall trend is upward, but polygon budgets still matter because scenes contain dozens or hundreds of objects on screen simultaneously.

Web and e-commerce. Single product viewers can handle 100,000 triangles on modern devices, but 10,000 to 50,000 provides the best balance of quality and loading speed. Draco compression can shrink GLB file sizes by 6 to 10x, making it practical to serve detailed models over typical mobile connections. For more on web optimization, see our guide to reducing 3D file size.

Film and VFX. Film production works differently from real-time rendering. Modelers create control meshes with tens of thousands of polygons, then apply subdivision and displacement maps at render time to generate millions. The control mesh for Godzilla (2014) used 500,000 to 700,000 polygons before subdivision. Pixar's OpenSubdiv library can subdivide a 30,000 polygon character to 500,000 polygons in about 3 milliseconds on the GPU.

$ problems

Common Topology Problems

These issues appear frequently in models that are downloaded from asset libraries, generated through photogrammetry, or exported from CAD software. Catching them before conversion or delivery saves significant rework later.

Non-manifold geometry. An edge shared by more than two faces, or a single vertex connecting two separate surface patches (called a bowtie vertex). Non-manifold geometry breaks boolean operations, prevents 3D printing slicers from generating valid toolpaths, and disrupts the internal data structures that most mesh processing algorithms rely on. In Blender, use Edit Mode and select "Select Non-Manifold" to find these issues. Maya's Cleanup tool detects them as well.

T-vertices. A vertex that sits on the edge of an adjacent polygon without being connected to it. This creates a crack in the surface that may be invisible in the viewport but produces visible seams during rendering, especially with displacement mapping or tessellation.

Flipped normals. Face normals pointing inward instead of outward. Faces with flipped normals appear invisible when backface culling is enabled, and they confuse 3D printing slicers because the slicer cannot determine which side of the surface is "inside" the object. Recalculating normals (Shift+N in Blender) fixes this in most cases.

Degenerate triangles. Triangles with zero or near-zero area, caused by vertices that are nearly collinear. These produce NaN errors when calculating normals (dividing by zero during vector normalization) and create numerical instability in physics simulations and ray tracing. They typically appear as artifacts from aggressive mesh decimation or rounding errors during file conversion.

Isolated vertices. Stray vertices with no edges connecting them to the rest of the mesh. They are invisible but increase file size and can cause problems with operations that depend on vertex counts. They are typically leftovers from deleted geometry. Use "Select Loose" in Blender or similar cleanup tools to find and remove them.

$ guidelines

Practical Guidelines

Model in quads, deliver in triangles. This is the standard workflow across every 3D discipline. Build your meshes with clean quad topology for maximum flexibility, then export to GLB, STL, or other triangle formats when the model reaches its final destination. Keep your source files in a format that preserves quads (OBJ, FBX, or your application's native format).

Place poles in low-deformation areas. A pole is a vertex where the number of connecting edges is not four (in a quad mesh). Poles are sometimes unavoidable, but you can control where they sit. Place them on the forehead, the back of the head, flat areas of the torso, or other regions that do not stretch or compress during animation. Never place poles at joints or in facial expression areas.

Run edge loops perpendicular to bends. At every joint in an animated character, the edge loops should cross the bend axis at a right angle. This gives the joint the geometry it needs to fold naturally. Think of the edge loops as the hinges on a piece of armor: they need to run in the direction the armor bends.

Test deformation early. Before spending hours refining surface details, apply a quick skeleton rig and test the key poses. Bend the elbows, flex the knees, open the mouth. Topology problems that are invisible in a static pose become obvious during deformation. Catching them early saves complete rework later.

Clean up n-gons before export. If your model has n-gons from the blocking stage, convert them to quads before exporting to any final format. This gives you control over the triangulation pattern rather than leaving it to the exporter, which may make different choices than you would.

Check manifold status before printing. 3D printing requires watertight meshes where every edge is shared by exactly two faces. Run your modeling software's manifold check before exporting to STL or 3MF. For more details on preparing models for print, see our 3D printing file preparation guide.

$ faq

Frequently Asked Questions

Should I model in quads or triangles?

Model in quads whenever possible. Quads give you clean edge loops for animation, predictable subdivision surfaces, and easier UV mapping. Your model will be triangulated automatically when exported to real-time formats like GLB or STL, but starting with quads gives you the best control over how that triangulation happens.

Why do GPUs only render triangles?

Three points in 3D space always define a single flat plane, so a triangle is never ambiguous. Quads and n-gons can be non-planar, meaning their four or more vertices might not sit on the same plane. GPUs exploit the mathematical simplicity of triangles to rasterize billions of them per second. Every 3D model is triangulated before reaching the GPU, regardless of how it was modeled.

Are n-gons always bad in 3D modeling?

Not always. N-gons are acceptable on perfectly flat surfaces that will not be subdivided or deformed, such as walls, tabletops, and mechanical flats. They are also fine in high-poly source meshes used only for baking normal maps. However, n-gons cause serious problems in areas that deform during animation, receive subdivision, or need consistent shading across different renderers.

What happens to quads when I convert a model to GLB?

Every quad is split into two triangles. GLB and glTF only support triangle primitives, so all geometry is triangulated during export. This is a one-way operation. The original quad structure cannot be perfectly recovered from the triangulated result, which is why you should always keep your original source file in a format that preserves topology.

How many polygons should my 3D model have?

It depends on the target platform. Mobile games typically use 5,000 to 20,000 triangles per character. PC and console games use 15,000 to 100,000. Web and e-commerce viewers work best with 10,000 to 100,000 triangles per model. Film production uses subdivision surfaces on control meshes of tens of thousands of polygons, reaching millions at render time.

Which 3D file formats preserve quad topology?

OBJ, FBX, USD/USDZ, DAE (COLLADA), and PLY all support quads and mixed polygon types. GLB/glTF, STL, 3DS, and 3MF are triangle-only formats. If you need to preserve quad topology for downstream modeling work, export to OBJ or FBX rather than GLB.

$ related

Related Guides and Tools