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

  1. ModelBegin
  2.     ProtoBegin walls
  3.  
  4.         Surface 0.05 0.65 0.0
  5.         Color 0.8 0.5 0.0
  6.     LightSampling vertex
  7.         TextureMode foreshorten
  8.  
  9.         Vertex 1 -0.5 2 UV 0.0 0.0  # 1
  10.         Vertex 1 -0.5 1 UV 0.5 0.0
  11.         Vertex 2 -0.5 1 UV 0.0 0.0
  12.         Vertex 2 -0.5 0 UV 0.0 0.0
  13.         Vertex 1 -0.5 0 UV 0.5 0.0
  14.         Vertex 0 -0.5 0 UV 1.0 0.0
  15.         Vertex 0 -0.5 1 UV 0.5 0.0
  16.         Vertex 0 -0.5 2 UV 0.0 0.0
  17.  
  18.         Vertex 1 0.5 2 UV 0.0 0.5    # 9
  19.         Vertex 1 0.5 1 UV 0.5 0.5
  20.         Vertex 2 0.5 1 UV 0.0 0.5
  21.         Vertex 2 0.5 0 UV 0.0 0.5
  22.         Vertex 1 0.5 0 UV 0.5 0.5
  23.         Vertex 0 0.5 0 UV 1.0 0.5
  24.         Vertex 0 0.5 1 UV 0.5 0.5
  25.         Vertex 0 0.5 2 UV 0.0 0.5
  26.  
  27.         Texture stone008
  28.         RemoveTextureMode foreshorten
  29.         Quad 4 12 13 5    # front wall
  30.         Quad 5 13 14 6
  31.         AddTextureMode foreshorten
  32. # OR
  33. #       Quad 4 12 14 6    # front wall
  34.  
  35. #       RemoveTextureMode foreshorten
  36. #       Quad 6 14 15 7    # side wall
  37. #       Quad 7 15 16 8
  38. #       AddTextureMode foreshorten
  39. # OR
  40.         Quad 6 14 16 8    # side wall
  41.  
  42.         Vertex 1 0.5 2 UV 0.5 0.0    # 17
  43.         Vertex 1 0.5 1 UV 0.5 0.5
  44.         Vertex 2 0.5 1 UV 0.5 0.0
  45.         Vertex 2 0.5 0 UV 0.0 0.0
  46.         Vertex 0 0.5 0 UV 0.0 1.0
  47.         Vertex 0 0.5 2 UV 0.0 0.0
  48.  
  49.         Texture stmaze9
  50.         RemoveTextureMode foreshorten
  51.         Quad 21 20 19 18
  52.         AddTextureMode foreshorten
  53.         Quad 22 21 18 17
  54. # OR
  55. #       Quad 21 20 19 18
  56. #       Quad 22 21 18 17
  57.  
  58.  
  59.         Texture stone008
  60.         Quad 1 9 10 2
  61.         Quad 2 10 11 3
  62.  
  63.     ProtoEnd
  64.  
  65.     ProtoBegin floor
  66.     Color 0.7 0.4 0.0
  67.     Surface 0.05 0.5 0.0
  68.     LightSampling facet
  69.  
  70.         Vertex 1 -0.5 2 UV 0.5 0.0  # 1
  71.         Vertex 1 -0.5 1 UV 0.5 0.5
  72.         Vertex 2 -0.5 1 UV 1.0 0.5
  73.         Vertex 2 -0.5 0 UV 1.0 1.0
  74.         Vertex 0 -0.5 0 UV 0.0 1.0
  75.         Vertex 0 -0.5 2 UV 0.0 0.0
  76.  
  77.     Texture terratta
  78.     TextureMode foreshorten
  79.     Quad 1 2 5 6    # near
  80. #        RemoveTextureMode foreshorten
  81.     Quad 2 3 4 5    # far
  82.     ProtoEnd
  83.  
  84.     ClumpBegin
  85.         Hints NULL
  86.         ProtoInstance floor
  87.     ProtoInstance walls
  88.     ClumpEnd
  89. ModelEnd
  90.