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

  1. ModelBegin
  2.     ProtoBegin walls
  3.          Surface 0.05 0.65 0.0
  4.         Color 0.8 0.5 0.0
  5.         LightSampling vertex
  6.         TextureMode foreshorten
  7.  
  8.         Vertex 1 -0.5 2 UV 0.0 0.0  # 1
  9.         Vertex 1 -0.5 1 UV 0.5 0.0
  10.         Vertex 2 -0.5 1 UV 0.0 0.0
  11.         Vertex 2 -0.5 0 UV 0.0 0.0
  12.         Vertex 1 -0.5 0 UV 0.5 0.0
  13.         Vertex 0 -0.5 0 UV 1.0 0.0
  14.         Vertex 0 -0.5 1 UV 0.5 0.0
  15.         Vertex 0 -0.5 2 UV 0.0 0.0
  16.  
  17.         Vertex 1 0.5 2 UV 0.0 0.5    # 9
  18.         Vertex 1 0.5 1 UV 0.5 0.5
  19.         Vertex 2 0.5 1 UV 0.0 0.5
  20.         Vertex 2 0.5 0 UV 0.0 0.5
  21.         Vertex 1 0.5 0 UV 0.5 0.5
  22.         Vertex 0 0.5 0 UV 1.0 0.5
  23.         Vertex 0 0.5 1 UV 0.5 0.5
  24.         Vertex 0 0.5 2 UV 0.0 0.5
  25.  
  26.         Texture stone008
  27.         Quad 4 12 14 6    # foreshortening for wall C has foreshortening
  28.  
  29.         RemoveTextureMode foreshorten
  30.         Quad 6 14 15 7    # no foreshortening for side wall A  
  31.         Quad 7 15 16 8    # no foreshortening for side wall B
  32.  
  33.         AddTextureMode foreshorten
  34.  
  35.         Vertex 1 0.5 2 UV 0.5 0.0    # 17
  36.         Vertex 1 0.5 1 UV 0.5 0.5
  37.         Vertex 2 0.5 1 UV 0.5 0.0
  38.         Vertex 2 0.5 0 UV 0.0 0.0
  39.         Vertex 0 0.5 0 UV 0.0 1.0
  40.         Vertex 0 0.5 2 UV 0.0 0.0
  41.  
  42.         Texture stmaze9
  43.         Quad 21 20 19 18    # foreshortening for ceiling K
  44.         RemoveTextureMode foreshorten
  45.         Quad 22 21 18 17    # no foreshortening for ceiling J
  46.         AddTextureMode foreshorten
  47.  
  48.         Texture stone008
  49.         Quad 1 9 10 2    # foreshortening for wall E
  50.         Quad 2 10 11 3  # foreshortening for wall F
  51.     ProtoEnd
  52.  
  53.     ProtoBegin floor
  54.         Color 0.7 0.4 0.0
  55.         Surface 0.05 0.5 0.0
  56.         LightSampling facet
  57.  
  58.         Vertex 1 -0.5 2 UV 0.5 0.0  # 1
  59.         Vertex 1 -0.5 1 UV 0.5 0.5
  60.         Vertex 2 -0.5 1 UV 1.0 0.5
  61.         Vertex 2 -0.5 0 UV 1.0 1.0
  62.         Vertex 0 -0.5 0 UV 0.0 1.0
  63.         Vertex 0 -0.5 2 UV 0.0 0.0
  64.  
  65.         Texture terratta
  66.         TextureMode foreshorten      # use forshortening for near terracatta floor tile 
  67.         Quad 2 3 4 5    # near floor K
  68.         RemoveTextureMode foreshorten # remove forshortening from far terracatta floor tile 
  69.         Quad 1 2 5 6    # far floor J
  70.     ProtoEnd
  71.  
  72.     ClumpBegin
  73.         Hints NULL
  74.         ProtoInstance floor
  75.         ProtoInstance walls
  76.     ClumpEnd
  77. ModelEnd
  78.