Types: N/A
Examples: N/A
Constructions: N/A
Generalizations: N/A
Properties: N/A
Sufficiencies: N/A
Questions: N/A
- Wireframe Model in 3D
- Polygon Model in 3D
One subfield of computer science is 2D computer graphics. Vector models can be very affective for encoding 2D geometric shapes. We begin our discussion of 2D computer graphics by focusing on wireframe models. A wireframe model is created by specifying a vertex matrix and edge table.
In this example, we will create a triangle using a wireframe model. We will use the vertexes from 3.1.1 Vertex Model of Points:
This information can be encoded in a Vertex Table.
We can also indicate the edges (connections) between the vertices using an Edge Table.
Remark. Notice that we specify the start and end vertices for each edge separately. In this case, we do not care about creating directed edges. Thus, the visual representation of the triangle contains lines connecting each vertex (thought of as "wires"). If we wanted to, we could use arrows that run from the starting vertex toward the end vertex, known as the directed edge. However, this is unnecessary for this model.
Remark. Also, notice this model has no "area" since the shape contains only vertices and edges. This is why we call this a "frame" since it only specifies the outer region of the shape.
From this model, we can generate a vertex matrix
We can geometrically transform this matrix using matrix operators, such as matrix-matrix multiplication or matrix-matrix addition. As long as the edge configurations don't change, we can keep the edge table untouched while executing any transformation!