home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rftv3.rw_ / rftv3.bin
Text File  |  1995-11-14  |  3KB  |  134 lines

  1. ModelBegin
  2.  
  3. ProtoBegin Face
  4.     Vertex -0.4 0.65 0.5 UV 0.00 0.00    #1
  5.     Vertex -0.2 0.65 0.5 UV 0.25 0.00    #2
  6.     Vertex 0.0 0.65 0.5 UV 0.50 0.00    #3
  7.     Vertex 0.2 0.65 0.5 UV 0.75 0.00    #4
  8.     Vertex 0.4 0.65 0.5 UV 1.00 0.00    #5
  9.  
  10.     Vertex -0.4 0.45 0.5 UV 0.00 0.25    #6
  11.     Vertex -0.2 0.45 0.5 UV 0.25 0.25    #7
  12.     Vertex 0.0 0.45 0.5 UV 0.50 0.25    #8
  13.     Vertex 0.2 0.45 0.5 UV 0.75 0.25    #9
  14.     Vertex 0.4 0.45 0.5 UV 1.00 0.25    #10
  15.  
  16.     Vertex -0.4 0.25 0.5 UV 0.00 0.50    #11
  17.     Vertex -0.2 0.25 0.5 UV 0.25 0.50    #12
  18.     Vertex 0.0 0.25 0.5 UV 0.50 0.50    #13
  19.     Vertex 0.2 0.25 0.5 UV 0.75 0.50    #14
  20.     Vertex 0.4 0.25 0.5 UV 1.00 0.50    #15
  21.  
  22.     Vertex -0.4 0.05 0.5 UV 0.00 0.75    #16
  23.     Vertex -0.2 0.05 0.5 UV 0.25 0.75    #17
  24.     Vertex 0.0 0.05 0.5 UV 0.50 0.75    #18
  25.     Vertex 0.2 0.05 0.5 UV 0.75 0.75    #19
  26.     Vertex 0.4 0.05 0.5 UV 1.00 0.75  #20
  27.  
  28.     Vertex -0.4 -0.15 0.5 UV 0.00 1.00    #21
  29.     Vertex -0.2 -0.15 0.5 UV 0.25 1.00    #22
  30.     Vertex 0.0 -0.15 0.5 UV 0.50 1.00     #23
  31.     Vertex 0.2 -0.15 0.5 UV 0.75 1.00     #24
  32.     Vertex 0.4 -0.15 0.5 UV 1.00 1.00     #25
  33.     LightSampling Vertex
  34.     GeometrySampling Solid
  35.     Surface 0.2 0.6 0.8
  36.     TextureMode Lit
  37.     Texture pineappl
  38.     Quad 1 6 7 2   # split screen into squares
  39.     Quad 2 7 8 3
  40.     Quad 3 8 9 4
  41.     Quad 4 9 10 5
  42.     Quad 6 11 12 7
  43.     Quad 7 12 13 8
  44.     Quad 8 13 14 9
  45.     Quad 9 14 15 10
  46.     Quad 11 16 17 12
  47.     Quad 12 17 18 13
  48.     Quad 13 18 19 14
  49.     Quad 14 19 20 15
  50.     Quad 16 21 22 17
  51.     Quad 17 22 23 18
  52.     Quad 18 23 24 19
  53.     Quad 19 24 25 20
  54. ProtoEnd
  55.  
  56. ProtoBegin Base
  57.     # 1 - 8  BASE
  58.     Vertex -0.2 -0.25 0.2 
  59.     Vertex 0.2 -0.25 0.2  
  60.     Vertex 0.5 -0.75 0.5  
  61.     Vertex -0.5 -0.75 0.5 
  62.     Vertex -0.2 -0.25 -0.2
  63.     Vertex 0.2 -0.25 -0.2 
  64.     Vertex 0.5 -0.75 -0.5 
  65.     Vertex -0.5 -0.75 -0.5
  66.     LightSampling Facet
  67.     GeometrySampling Solid
  68.     Texture NULL
  69.     Surface 0.2 0.6 0.8
  70.     Color 0.0 0.0 1.0        #Blue
  71.     Quad 4 3 2 1
  72.     Quad 5 6 7 8
  73.     Quad 8 4 1 5
  74.     Quad 6 2 3 7
  75.     Translate -0.51 0.25 0.52
  76. ProtoEnd
  77.  
  78. ProtoBegin Door
  79.     Tag 2 # Tag 2 means this object is manipulatable.
  80.     LightSampling Facet
  81.     GeometrySampling Solid
  82.     Surface 0.2 0.6 0.8
  83.     Color 0.0 1.0 0.0  #Green
  84.     Translate 0.0 0.25 0.55
  85.     Block 1.0 1.0 0.05
  86. ProtoEnd
  87.  
  88. ProtoBegin TV
  89.     # x=1.0 y =1.5 z=1.0
  90.     LightSampling Facet
  91.     GeometrySampling Solid
  92.     Surface 0.2 0.6 0.8
  93.     Color 1.0 0 0      #Red
  94.     Vertex -0.5 0.75 0.5  #1 - 8 are box corners
  95.     Vertex 0.5 0.75 0.5
  96.     Vertex 0.5 -0.25 0.5
  97.     Vertex -0.5 -0.25 0.5
  98.     Vertex -0.4 0.65 -0.5
  99.     Vertex 0.4 0.65 -0.5
  100.     Vertex 0.4 -0.25 -0.5
  101.     Vertex -0.4 -0.25 -0.5
  102.     # 9 - 12  screen bevel
  103.     Vertex -0.39 0.64 0.5  # 9 -12 are bevel vertices
  104.     Vertex 0.39 0.64 0.5
  105.     Vertex 0.39 -0.14 0.5
  106.     Vertex -0.39 -0.14 0.5
  107.  
  108.     # front face bevels
  109.     Quad 4 12 9 1  # left side bevel
  110.     Quad 1 9 10 2  # top bevel
  111.     Quad 2 10 11 3  # right bevel
  112.     Quad 3 11 12 4  # bottom bevel
  113.     # TV box  (no front)
  114.     Quad 5 6 7 8   # back of box
  115.     Quad 1 2 6 5  #top of box
  116.     Quad 3 4 8 7  #bottom of box
  117.     Quad 2 3 7 6  #right of box
  118.     Quad 1 5 8 4 # left of box
  119.     
  120.     ClumpBegin
  121.         ProtoInstance Door  # door belongs to TV
  122.     ClumpEnd
  123. ProtoEnd
  124.  
  125. ClumpBegin
  126.     ProtoInstance TV
  127.     ProtoInstance Face
  128.     ClumpBegin
  129.         ProtoInstance Base
  130.     ClumpEnd
  131. ClumpEnd
  132.  
  133. ModelEnd
  134.