home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwdos / turn.rwx < prev    next >
Text File  |  1995-02-15  |  2KB  |  88 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.  
  28.         Texture stone008
  29. #       RemoveTextureMode foreshorten
  30. #       Quad 4 12 13 5    # front wall    
  31. #       Quad 5 13 14 6
  32. #       AddTextureMode foreshorten
  33. # OR
  34.         Quad 4 12 14 6    # front wall
  35.  
  36. #       RemoveTextureMode foreshorten
  37. #       Quad 6 14 15 7    # side wall
  38. #       Quad 7 15 16 8
  39. #       AddTextureMode foreshorten
  40. # OR
  41.         Quad 6 14 16 8    # side wall
  42.  
  43.         Vertex 1 0.5 2 UV 0.5 0.0    # 17
  44.         Vertex 1 0.5 1 UV 0.5 0.5
  45.         Vertex 2 0.5 1 UV 0.5 0.0
  46.         Vertex 2 0.5 0 UV 0.0 0.0
  47.         Vertex 0 0.5 0 UV 0.0 1.0
  48.         Vertex 0 0.5 2 UV 0.0 0.0
  49.  
  50.         Texture stmaze9
  51. #       RemoveTextureMode foreshorten
  52. #       Quad 21 20 19 18
  53. #       AddTextureMode foreshorten
  54. #       Quad 22 21 18 17
  55. # OR
  56.         Quad 21 20 19 18
  57.         Quad 22 21 18 17
  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.     Quad 2 3 4 5    # far
  81.     ProtoEnd
  82.  
  83.     ClumpBegin
  84.         Hints NULL
  85.         ProtoInstance floor
  86.     ProtoInstance walls
  87.     ClumpEnd
  88. ModelEnd