Introduction to 3D Graphics and VRML

[ Previous | Index | Next ]


Geometric primitives

Triangles

  • Most primitives based on triangles
  • Vertex v(i) is x,y,z
  • Triangle has three vertices (!)
  • Vertex structure can contain additional information
  • Counter-clockwise vertices, triangle front-facing
  • Clockwise vertices, triangle back-facing
  • Back-facing triangles usually not drawn

Polygons

  • Three or more vertices
  • Must be planar

Author: Michael Louka (mlouka@sn.no)
Last Updated: 19 November 1996