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:
“His pain was too great. He begged me for the simple mercy of death. And I could do nothing else but help him leave a world that had become a sleepless, tortured nightmare to him.”
—Robert D. Andrews, and Nick Grindé. Dr. John Garth (Boris Karloff)
“The playing adult steps sideward into another reality; the playing child advances forward to new stages of mastery....Childs play is the infantile form of the human ability to deal with experience by creating model situations and to master reality by experiment and planning.”
—Erik H. Erikson (20th century)