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

  1. # A RenderWare(TM) Script File.
  2. # A gift.
  3.  
  4. ModelBegin
  5.     ProtoBegin Lid
  6.          Vertex -0.50  1.00  0.50 UV 0.0 1.0 # 1
  7.         Vertex -0.10  1.00  0.50 UV 0.4 1.0
  8.         Vertex  0.10  1.00  0.50 UV 0.6 1.0
  9.         Vertex  0.50  1.00  0.50 UV 1.0 1.0 # 4
  10.  
  11.         Vertex -0.50  1.00  0.10 UV 0.0 0.6 # 5
  12.         Vertex -0.10  1.00  0.10 UV 0.4 0.6
  13.         Vertex  0.10  1.00  0.10 UV 0.6 0.6
  14.         Vertex  0.50  1.00  0.10 UV 1.0 0.6 # 8
  15.  
  16.         Vertex -0.50  1.00 -0.10 UV 0.0 0.4 # 9
  17.         Vertex -0.10  1.00 -0.10 UV 0.4 0.4
  18.         Vertex  0.10  1.00 -0.10 UV 0.6 0.4
  19.         Vertex  0.50  1.00 -0.10 UV 1.0 0.4 # 12
  20.  
  21.         Vertex -0.50  1.00 -0.50 UV 0.0 0.0 # 13
  22.         Vertex -0.10  1.00 -0.50 UV 0.4 0.0
  23.         Vertex  0.10  1.00 -0.50 UV 0.6 0.0
  24.         Vertex  0.50  1.00 -0.50 UV 1.0 0.0 # 16
  25.  
  26.         Vertex -0.50  0.70  0.50 UV 0.0 0.7 # 17
  27.         Vertex -0.10  0.70  0.50 UV 0.4 0.7
  28.         Vertex  0.10  0.70  0.50 UV 0.6 0.7
  29.         Vertex  0.50  0.70  0.50 UV 1.0 0.7 # 20
  30.  
  31.         Vertex  0.50  0.70  0.50 UV 0.7 1.0 # 21
  32.         Vertex  0.50  0.70  0.10 UV 0.7 0.6
  33.         Vertex  0.50  0.70 -0.10 UV 0.7 0.4
  34.         Vertex  0.50  0.70 -0.50 UV 0.7 0.0 # 24
  35.  
  36.         Vertex  0.50  0.70 -0.50 UV 1.0 0.3 # 25
  37.         Vertex  0.10  0.70 -0.50 UV 0.6 0.3
  38.         Vertex -0.10  0.70 -0.50 UV 0.4 0.3
  39.         Vertex -0.50  0.70 -0.50 UV 0.0 0.3 # 28
  40.  
  41.         Vertex -0.50  0.70 -0.50 UV 0.3 0.0 # 29
  42.         Vertex -0.50  0.70 -0.10 UV 0.3 0.4
  43.         Vertex -0.50  0.70  0.10 UV 0.3 0.6
  44.         Vertex -0.50  0.70  0.50 UV 0.3 1.0 # 32
  45.  
  46.         # The box lid
  47.         MaterialBegin
  48.             Surface 0.4 0.2 0.2
  49.             Color 0.0 0.0 1.0
  50.             Texture wrap
  51.  
  52.             Quad 1 2 6 5
  53.             Quad 3 4 8 7
  54.             Quad 9 10 14 13
  55.             Quad 11 12 16 15
  56.             Quad 17 18 2 1
  57.             Quad 19 20 4 3
  58.             Quad 21 22 8 4
  59.             Quad 23 24 16 12
  60.             Quad 25 26 15 16
  61.             Quad 27 28 13 14
  62.             Quad 29 30 9 13
  63.             Quad 31 32 1 5
  64.         MaterialEnd
  65.  
  66.         # The ribbon round the box lid.
  67.         MaterialBegin
  68.             Surface 0.4 0.5 0.0
  69.             Color 1.0 0.0 0.0
  70.  
  71.             Quad 2 3 7 6
  72.             Quad 5 6 10 9
  73.             Quad 7 8 12 11
  74.             Quad 10 11 15 14
  75.             Quad 6 7 11 10
  76.             Quad 18 19 3 2
  77.             Quad 22 23 12 8
  78.             Quad 26 27 14 15
  79.             Quad 30 31 5 9
  80.         MaterialEnd
  81.     ProtoEnd
  82.  
  83.     ProtoBegin Box
  84.         Vertex -0.45  0.70  0.45 UV 0.0 0.7 # 1
  85.         Vertex -0.10  0.70  0.45 UV 0.4 0.7
  86.         Vertex  0.10  0.70  0.45 UV 0.6 0.7
  87.         Vertex  0.45  0.70  0.45 UV 1.0 0.7 # 4
  88.  
  89.         Vertex  0.45  0.70  0.45 UV 0.7 1.0 # 5
  90.         Vertex  0.45  0.70  0.10 UV 0.7 0.6
  91.         Vertex  0.45  0.70 -0.10 UV 0.7 0.4
  92.         Vertex  0.45  0.70 -0.45 UV 0.7 0.0 # 8
  93.  
  94.         Vertex  0.45  0.70 -0.45 UV 1.0 0.3 # 9
  95.         Vertex  0.10  0.70 -0.45 UV 0.6 0.3
  96.         Vertex -0.10  0.70 -0.45 UV 0.4 0.3
  97.         Vertex -0.45  0.70 -0.45 UV 0.0 0.3 # 12
  98.  
  99.         Vertex -0.45  0.70 -0.45 UV 0.3 0.0 # 13
  100.         Vertex -0.45  0.70 -0.10 UV 0.3 0.4
  101.         Vertex -0.45  0.70  0.10 UV 0.3 0.6
  102.         Vertex -0.45  0.70  0.45 UV 0.3 1.0 # 16
  103.  
  104.         Vertex -0.45  0.00  0.45 UV 0.0 0.0 # 17
  105.         Vertex -0.10  0.00  0.45 UV 0.4 0.0
  106.         Vertex  0.10  0.00  0.45 UV 0.6 0.0
  107.         Vertex  0.45  0.00  0.45 UV 1.0 0.0 # 20
  108.  
  109.         Vertex  0.45  0.00  0.45 UV 0.0 1.0 # 21
  110.         Vertex  0.45  0.00  0.10 UV 0.0 0.6
  111.         Vertex  0.45  0.00 -0.10 UV 0.0 0.4
  112.         Vertex  0.45  0.00 -0.45 UV 0.0 0.0 # 24
  113.  
  114.         Vertex  0.45  0.00 -0.45 UV 1.0 1.0 # 25
  115.         Vertex  0.10  0.00 -0.45 UV 0.6 1.0
  116.         Vertex -0.10  0.00 -0.45 UV 0.4 1.0
  117.         Vertex -0.45  0.00 -0.45 UV 0.0 1.0 # 28
  118.  
  119.         Vertex -0.45  0.00 -0.45 UV 1.0 0.0 # 29
  120.         Vertex -0.45  0.00 -0.10 UV 1.0 0.4
  121.         Vertex -0.45  0.00  0.10 UV 1.0 0.6
  122.         Vertex -0.45  0.00  0.45 UV 1.0 1.0 # 32
  123.  
  124.          Vertex -0.45  0.00  0.45 UV 0.0 1.0 # 33
  125.         Vertex -0.10  0.00  0.45 UV 0.4 1.0
  126.         Vertex  0.10  0.00  0.45 UV 0.6 1.0
  127.         Vertex  0.45  0.00  0.45 UV 1.0 1.0 # 36
  128.  
  129.         Vertex -0.45  0.00  0.10 UV 0.0 0.6 # 37
  130.         Vertex -0.10  0.00  0.10 UV 0.4 0.6
  131.         Vertex  0.10  0.00  0.10 UV 0.6 0.6
  132.         Vertex  0.45  0.00  0.10 UV 1.0 0.6 # 40
  133.  
  134.         Vertex -0.45  0.00 -0.10 UV 0.0 0.4 # 41
  135.         Vertex -0.10  0.00 -0.10 UV 0.4 0.4
  136.         Vertex  0.10  0.00 -0.10 UV 0.6 0.4
  137.         Vertex  0.45  0.00 -0.10 UV 1.0 0.4 # 44
  138.  
  139.         Vertex -0.45  0.00 -0.45 UV 0.0 0.0 # 45
  140.         Vertex -0.10  0.00 -0.45 UV 0.4 0.0
  141.         Vertex  0.10  0.00 -0.45 UV 0.6 0.0
  142.         Vertex  0.45  0.00 -0.45 UV 1.0 0.0 # 48
  143.  
  144.         # The box
  145.         MaterialBegin
  146.             Surface 0.4 0.2 0.2
  147.             Color 0.0 0.0 1.0
  148.             Texture wrap 
  149.  
  150.             Quad 17 18 2 1
  151.             Quad 19 20 4 3
  152.             Quad 21 22 6 5
  153.             Quad 23 24 8 7
  154.             Quad 25 26 10 9
  155.             Quad 27 28 12 11
  156.             Quad 29 30 14 13
  157.             Quad 31 32 16 15
  158.             Quad 37 38 34 33
  159.             Quad 39 40 36 35
  160.             Quad 47 48 44 43
  161.             Quad 45 46 42 41
  162.         MaterialEnd
  163.  
  164.         # The ribbon round the box.
  165.         MaterialBegin
  166.             Surface 0.4 0.5 0.0
  167.             Color 1.0 0.0 0.0
  168.  
  169.             Quad 18 19 3 2
  170.             Quad 22 23 7 6
  171.             Quad 26 27 11 10
  172.             Quad 30 31 15 14
  173.             Quad 38 39 35 34
  174.             Quad 39 43 44 40
  175.             Quad 46 47 43 42
  176.             Quad 42 38 37 41
  177.             Quad 42 43 39 38
  178.         MaterialEnd
  179.     ProtoEnd
  180.  
  181.     ClumpBegin
  182.         ProtoInstance Box
  183.         ProtoInstance Lid
  184.     ClumpEnd
  185. ModelEnd
  186.  
  187.  
  188.