Lines format

From this snippet of code (cube.dat), I've deduced that we create a series of vertices using the "v" command, numbered by the order in which they're created; then the "f" command is used to draw a line through several vertices (indicated by their numbers), whereas the "l" command is to draw from one vertex to another:
v 0 0 0
v 1 0 0
v 1 1 0
v 0 1 0
v 0 0 1
v 1 0 1
v 1 1 1
v 0 1 1
f 1 2 3 4
f 5 6 7 8
l 1 5
l 2 6
l 3 7
l 4 8

Website maintained by Andy Long. Comments appreciated.
longa@nku.edu