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:
“I ... observed the great beauty of American government to be, that the simple machines of representation, carried through all its parts, gives facility for a being moulded at will to fit with the knowledge of the age; that thus, although it should be imperfect in any or all of its parts, it bears within it a perfect principle the principle of improvement.
”
—Frances Wright (17951852)
“The best way to teach a child restraint and generosity is to be a model of those qualities yourself. If your child sees that you want a particular item but refrain from buying it, either because it isnt practical or because you cant afford it, he will begin to understand restraint. Likewise, if you donate books or clothing to charity, take him with you to distribute the items to teach him about generosity.”
—Lawrence Balter (20th century)