Simple Example of Wireframe Model
An object is specified by two tables: the vertex table and the edge table. The vertex table consists of three-dimensional coordinate values for each vertex with reference to the origin, while the edge table specifies the start and end vertices for each edge. After the appropriate calculations have been performed to transform the 3D coordinates of the vertices into 2D screen coordinates, a naïve interpretation could create a wireframe representation by simply drawing straight lines between the screen coordinates of the appropriate vertices using the edge list. Unlike representations designed for more detailed rendering, face information is not specified (it must be calculated if required for solid rendering).
| Vertex | X | Y | Z |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 1 | -1 | 1 |
| 3 | -1 | -1 | 1 |
| 4 | -1 | 1 | 1 |
| 5 | 1 | 1 | -1 |
| 6 | 1 | -1 | -1 |
| 7 | -1 | -1 | -1 |
| 8 | -1 | 1 | -1 |
| Edge | Start Vertex | End Vertex |
|---|---|---|
| 1 | 1 | 2 |
| 2 | 2 | 3 |
| 3 | 3 | 4 |
| 4 | 4 | 1 |
| 5 | 5 | 6 |
| 6 | 6 | 7 |
| 7 | 7 | 8 |
| 8 | 8 | 5 |
| 9 | 1 | 5 |
| 10 | 2 | 6 |
| 11 | 3 | 7 |
| 12 | 4 | 8 |
Read more about this topic: Wire-frame Model
Famous quotes containing the words simple and/or model:
“A simple child,
That lightly draws its breath,
And feels its life in every limb,
What should it know of death?”
—William Wordsworth (17701850)
“When Titian was mixing brown madder,
His model was posed up a ladder.
Said Titian, That position
Calls for coition,
So he lept up the ladder and had her.”
—Anonymous.