home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
vr386
/
dblcone.plg
< prev
next >
Wrap
Text File
|
1993-04-18
|
1KB
|
51 lines
# an octagonal cone visible from the outside, 1000x1000
octout 10 16
# vertices:
# X Y Z
# center ring
-190 -460 0 # vertex 0
190 -460 0 # vertex 1
460 -190 0 # vertex 2
460 190 0 # vertex 3
190 460 0 # vertex 4
-190 460 0 # vertex 5
-460 190 0 # vertex 6
-460 -190 0 # vertex 7
# points
0 0 500 # vertex 8
0 0 -500 # vertex 9
# polygons: all cosine-lit, assorted colors
# color #verts vert1 vert2 ...
# far cone
# these faces are facing us in the sketch, thus are CCW
0x12ff 3 5 4 8 # top
0x13ff 3 4 3 8
0x14ff 3 3 2 8
# these faces are away from us in the sketch, and thus CW
0x15ff 3 2 1 8
0x16ff 3 1 0 8
0x17ff 3 0 7 8
0x18ff 3 7 6 8
0x19ff 3 6 5 8
# near cone: could be produced mechanically by copying the far cone
# polys, changing vertex 8 to 9, and reversing the order of the
# other 2 vertices (because the z axis is reversed we must also
# reverse the order of vertices)
0x19ff 3 4 5 9 # top
0x18ff 3 3 4 9
0x17ff 3 2 3 9
0x16ff 3 1 2 9
0x15ff 3 0 1 9
0x14ff 3 7 0 9
0x13ff 3 6 7 9
0x12ff 3 5 6 9