Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Wire-frame model
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Simple example of wireframe model== An object is specified by two tables: (1) Vertex Table, and, (2) Edge Table. The vertex table consists of three-dimensional coordinate values for each vertex with reference to the origin. {| class="wikitable" |- ! 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 table specifies the start and end vertices for each edge. {| class="wikitable" |- ! 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 |} A naive interpretation could create a wire-frame 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). Appropriate calculations have to be performed to [[transform and lighting|transform]] the 3D coordinates of the vertices into [[screen space|2D screen coordinates]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)