home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwdos / hall.rwx < prev    next >
Text File  |  1995-02-15  |  3KB  |  114 lines

  1. ModelBegin
  2.     ProtoBegin Stairs
  3.         Rotate 0 1 0 90
  4.         Scale 2 1 1
  5.         Vertex 0     0       0
  6.         Vertex 0.07  0       0
  7.         Vertex 0.07  -0.07   0
  8.         Vertex 0.14  -0.07   0
  9.         Vertex 0.14  -0.14   0
  10.         Vertex 0.21  -0.14   0
  11.         Vertex 0.21  -0.21   0
  12.         Vertex 0.28  -0.21   0
  13.         Vertex 0.28  -0.28   0
  14.         Vertex 0.35  -0.28   0
  15.         Vertex 0.35  -0.35   0
  16.         Vertex 0.42  -0.35   0
  17.         Vertex 0.42  -0.42   0
  18.         Vertex 0.49  -0.42   0
  19.         Vertex 0.49  -0.49   0
  20.         Vertex 0.56  -0.49   0
  21.         Vertex 0.56  -0.56   0
  22.         Vertex 0.63  -0.56   0
  23.         Vertex 0.63  -0.63   0
  24.         Vertex 0.70  -0.63   0
  25.         Vertex 0.70  -0.70   0
  26.  
  27.         Vertex 0     0       0.5
  28.         Vertex 0.07  0       0.5
  29.         Vertex 0.07  -0.07   0.5
  30.         Vertex 0.14  -0.07   0.5
  31.         Vertex 0.14  -0.14   0.5
  32.         Vertex 0.21  -0.14   0.5
  33.         Vertex 0.21  -0.21   0.5
  34.         Vertex 0.28  -0.21   0.5
  35.         Vertex 0.28  -0.28   0.5
  36.         Vertex 0.35  -0.28   0.5
  37.         Vertex 0.35  -0.35   0.5
  38.         Vertex 0.42  -0.35   0.5
  39.         Vertex 0.42  -0.42   0.5
  40.         Vertex 0.49  -0.42   0.5
  41.         Vertex 0.49  -0.49   0.5
  42.         Vertex 0.56  -0.49   0.5
  43.         Vertex 0.56  -0.56   0.5
  44.         Vertex 0.63  -0.56   0.5
  45.         Vertex 0.63  -0.63   0.5
  46.         Vertex 0.70  -0.63   0.5
  47.         Vertex 0.70  -0.70   0.5
  48.  
  49.         Vertex 0   1   0        # 43
  50.         Vertex 0.7 0.3 0
  51.         Vertex 0   1   0.5      # 45
  52.         Vertex 0.7 0.3 0.5
  53.  
  54. # stair walls and ceiling
  55.         Color 1 1 1
  56.         Surface 0.2 0.4 0.0
  57.         Quad 1 21 44 43
  58.         Quad 42 22 45 46
  59.         Quad 44 46 45 43
  60. # back of 'door'
  61.           Quad 1 43 45 22
  62.  
  63. # tops of steps
  64.         Color 1 0.5 0.5
  65.         Surface 0.3 0.6 0.0
  66.         Quad 41 20 19 40
  67.         Surface 0.2 0.6 0.0
  68.         Quad 39 18 17 38
  69.         Surface 0.3 0.6 0.0
  70.         Quad 37 16 15 36
  71.         Surface 0.2 0.6 0.0
  72.         Quad 35 14 13 34
  73.         Surface 0.3 0.6 0.0
  74.         Quad 33 12 11 32
  75.         Surface 0.2 0.6 0.0
  76.         Quad 31 10  9 30
  77.         Surface 0.3 0.6 0.0
  78.         Quad 29  8  7 28
  79.         Surface 0.2 0.6 0.0
  80.         Quad 27  6  5 26
  81.         Surface 0.3 0.6 0.0
  82.         Quad 25  4  3 24
  83.         Surface 0.2 0.6 0.0
  84.         Quad 23  2  1 22
  85.  
  86. # sides of steps
  87.         Color 1 1 1
  88.         Surface 0.3 0.6 0.0
  89.         Quad 24 3 2 23
  90.         Quad 26 5 4 25
  91.         Quad 28 7 6 27
  92.         Quad 30 9 8 29
  93.         Quad 32 11 10 31
  94.         Quad 34 13 12 33
  95.         Quad 36 15 14 35
  96.         Quad 38 17 16 37
  97.         Quad 40 19 18 39
  98.         Quad 42 21 20 41        
  99.     ProtoEnd
  100.  
  101.     ClumpBegin
  102.         Hints NULL
  103. # move to align door to street door in texture
  104.         Rotate 0 1 0 -90
  105.         Translate 3.0859 0.1 -2
  106.  
  107. # fit door to street door in city.rwx texture
  108.         TransformBegin
  109.             Scale 0.734 0.648  1
  110.             ProtoInstance Stairs
  111.         TransformEnd
  112.  
  113.     ClumpEnd
  114. ModelEnd