Return to previous page | Return to menu Go to next page


Programmer’s Tutorial

Drawing

This chapter explains the concept of polygons, which is the basic concept of 3D graphics, and how to set polygons in SGL.

2-1. Polygon

A polygon consists of three or more vertices “v1, v2, v3, v4 ... vn” on the same plane. The closed area obtained by joining these vertices in order, such as v1 to v2, v2 to v3, v3 to v4, and finally vn and v1, is called "polygon". In general, the straight line connecting vertices is called "edge" .

Figure 2-1 General polygon example

Polygons are established if the number of vertices is 3 or more, but in general, polygons with 3 or 4 vertices are considered optimal (SGL supports only polygons with 4 vertices).


Return to previous page | Return to menu Go to next page