Skip to main content

Wire-frame model and polygon table

Short answer

A wireframe model represents a 3D object only by its edges and vertices, with no surface information, causing ambiguity. Polygon data tables add vertex, edge, and surface connectivity, enabling solid rendering, hidden surface removal, shading, texture mapping, and consistency checks.

What is Wire-frame model and why do we need polygon data table? Explain with examples.

A wireframe model represents a 3D object only by its edges (lines) and vertices, like a skeleton made of wire, with no surface information.

   +-------+
  /|      /|
 +-------+ |
 | +-----|-+
 |/      |/
 +-------+      cube wireframe

Features:

  • Very fast to draw and to transform: only vertices need to be transformed.
  • Ambiguous: a hidden line cannot be distinguished from a front line, and the object can be read in more than one way (the Necker cube effect).
  • No surface, volume, colour or shading information.

Why a polygon data table is needed

A wireframe only stores which vertices are joined, not which edges form a face. To render solid surfaces (hidden surface removal, shading, texture), the faces must be known. A polygon data table (vertex, edge and surface tables) adds this connectivity and the attribute data.

Example: a triangular face

Vertex table: V1 (0,0,0)  V2 (1,0,0)  V3 (0,1,0)
Edge table:   E1 V1V2  E2 V2V3  E3 V3V1
Surface table: S1 = E1 E2 E3 (colour = red, normal = (0,0,1))

With the tables, we can find the surface normal for shading, test visibility, check for errors, and fill the polygon.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Graphics chapter 6 questions →