home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Learn 3D Graphics Programming on the PC
/
Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso
/
rwdos
/
tank.rwx
< prev
next >
Wrap
Text File
|
1995-02-15
|
4KB
|
265 lines
# A lovely Tank
ModelBegin
ClumpBegin
Hints HS EDITABLE
Color 1.000000 0.000000 0.000000
Surface 0.200000 0.600000 0.600000
LightSampling Facet
GeometrySampling Solid
Texture NULL
# Make it lie on X-Z plane - normalise it to 1-1-1 size.
Translate 0.0 1.0 0.0
# Scale 0.5 0.5 0.5
Vertex -1.0 -0.7 -0.7
Vertex -1.0 -0.6 -0.7
Vertex -0.9 -0.5 -0.7
Vertex 0.9 -0.5 -0.7
Vertex 1.0 -0.6 -0.7
Vertex 1.0 -0.7 -0.7
Vertex 0.7 -1.0 -0.7
Vertex -0.7 -1.0 -0.7
Vertex -1.0 -0.7 0.7
Vertex -1.0 -0.6 0.7
Vertex -0.9 -0.5 0.7
Vertex 0.9 -0.5 0.7
Vertex 1.0 -0.6 0.7
Vertex 1.0 -0.7 0.7
Vertex 0.7 -1.0 0.7
Vertex -0.7 -1.0 0.7
Vertex -1.0 -0.7 -0.5
Vertex -1.0 -0.6 -0.5
Vertex -0.9 -0.5 -0.5
Vertex 0.9 -0.5 -0.5
Vertex 1.0 -0.6 -0.5
Vertex 1.0 -0.7 -0.5
Vertex 0.7 -1.0 -0.5
Vertex -0.7 -1.0 -0.5
Vertex -1.0 -0.7 0.5
Vertex -1.0 -0.6 0.5
Vertex -0.9 -0.5 0.5
Vertex 0.9 -0.5 0.5
Vertex 1.0 -0.6 0.5
Vertex 1.0 -0.7 0.5
Vertex 0.7 -1.0 0.5
Vertex -0.7 -1.0 0.5
# 33
Vertex -1.0 -0.5 -0.7
Vertex -1.0 -0.4 -0.7
Vertex -0.9 -0.3 -0.7
Vertex 0.9 -0.3 -0.7
Vertex 1.0 -0.4 -0.7
Vertex 1.0 -0.5 -0.7
Vertex 0.9 -0.4 -0.7
Vertex -0.9 -0.4 -0.7
# 41
Vertex -1.0 -0.5 0.7
Vertex -1.0 -0.4 0.7
Vertex -0.9 -0.3 0.7
Vertex 0.9 -0.3 0.7
Vertex 1.0 -0.4 0.7
Vertex 1.0 -0.5 0.7
Vertex 0.9 -0.4 0.7
Vertex -0.9 -0.4 0.7
# 49
Vertex -0.7 -0.3 -0.6
Vertex -0.7 -0.3 0.6
Vertex 0.8 -0.3 0.6
Vertex 0.8 -0.3 -0.6
# 53
Vertex -0.6 -0.1 -0.4
Vertex -0.6 -0.1 0.4
Vertex 0.4 -0.1 0.4
Vertex 0.4 -0.1 -0.4
# 57
Vertex -1.0 -0.6 -0.5
Vertex 1.0 -0.6 -0.5
Vertex 0.8 -0.8 -0.5
Vertex -0.8 -0.8 -0.5
# 61
Vertex -1.0 -0.6 0.5
Vertex 1.0 -0.6 0.5
Vertex 0.8 -0.8 0.5
Vertex -0.8 -0.8 0.5
# 65
Vertex -1.0 -0.5 -0.5
Vertex 1.0 -0.5 -0.5
Vertex 0.9 -0.4 -0.5
Vertex -0.9 -0.4 -0.5
# 69
Vertex -1.0 -0.5 0.5
Vertex 1.0 -0.5 0.5
Vertex 0.9 -0.4 0.5
Vertex -0.9 -0.4 0.5
#73
Vertex -1.2 -1.0 0.9
Vertex -1.2 -1.0 -0.9
Vertex 1.2 -1.0 -0.9
Vertex 1.2 -1.0 0.9
# Shadow
MaterialBegin
Color 0.0 0.0 0.0
Surface 0 0 0
Opacity 0.5
Quad 76 75 74 73
MaterialEnd
# Polys
Color 0.3 0.3 0.3
# Right Inside
Polygon 8 24 23 22 21 20 19 18 17
# Left Inside
Polygon 8 25 26 27 28 29 30 31 32
# Under bit
Quad 38 37 45 46
Quad 39 38 46 47
Quad 40 39 47 48
# Right Track
MaterialBegin
Color 0.5 0.2 0.2
Quad 17 18 2 1
Quad 18 19 3 2
Quad 19 20 4 3
Quad 19 20 4 3
Quad 20 21 5 4
Quad 21 22 6 5
Quad 22 23 7 6
Quad 24 17 1 8
Quad 23 24 8 7
MaterialEnd
# Left Track
MaterialBegin
Color 0.5 0.2 0.2
Quad 26 25 9 10
Quad 27 26 10 11
Quad 28 27 11 12
Quad 29 28 12 13
Quad 30 29 13 14
Quad 31 30 14 15
Quad 9 25 32 16
Quad 15 16 32 31
MaterialEnd
# Right Outside track
Polygon 8 1 2 3 4 5 6 7 8
# Left Outside track
Polygon 8 16 15 14 13 12 11 10 9
# Left Bottom
Polygon 8 57 65 68 67 66 58 59 60
# Right Bottom
Polygon 8 64 63 62 70 71 72 69 61
# Sides
Quad 57 60 64 61
Quad 60 59 63 64
Quad 59 58 62 63
# Side Flange
Polygon 8 33 34 35 36 37 38 39 40
Polygon 8 48 47 46 45 44 43 42 41
# Back Plate
Quad 58 66 70 62
Quad 65 57 61 69
# Top Surface
MaterialBegin
Quad 41 42 34 33
Quad 42 43 35 34
Quad 43 44 36 35
Quad 44 45 37 36
Quad 45 46 38 37
Quad 33 40 48 41
MaterialEnd
# Top part
Quad 49 50 54 53
Quad 50 51 55 54
Quad 51 52 56 55
Quad 52 49 53 56
Quad 53 54 55 56
Translate 0.0 -0.0999 0.0
ClumpBegin
# Translate 0.0 -0.1 0.0
Vertex -0.3 0.0 -0.2
Vertex -0.4 0.0 -0.1
Vertex -0.4 0.0 0.1
Vertex -0.3 0.0 0.2
Vertex 0.2 0.0 0.2
Vertex 0.3 0.0 0.1
Vertex 0.3 0.0 -0.1
Vertex 0.2 0.0 -0.2
Vertex -0.3 0.2 -0.1
Vertex -0.3 0.2 0.1
Vertex 0.1 0.2 0.1
Vertex 0.1 0.2 -0.1
Triangle 1 2 9
Quad 2 3 10 9
Triangle 3 4 10
Quad 4 5 11 10
Triangle 5 6 11
Quad 6 7 12 11
Triangle 7 8 12
Quad 8 1 9 12
Quad 9 10 11 12
Translate 0.10 0.1 0.0
ClumpBegin
# Translate 0.10 0.1 0.0
Rotate 0.0 0.0 1.0 -90.0
Cylinder 1.0 0.08 0.05 6
ClumpEnd
ClumpEnd
ClumpEnd
ModelEnd