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

  1. ModelBegin
  2.     ProtoBegin house
  3.         Hints NULL
  4.  
  5.         Vertex -0.35  0.0   0.2 UV 0.0 1.0
  6.         Vertex  0.35  0.0   0.2 UV 1.0 1.0
  7.         Vertex  0.35  0.0  -0.2 UV 0.0 1.0
  8.         Vertex -0.35  0.0  -0.2 UV 1.0 1.0
  9.         Vertex -0.35  0.35  0.2 UV 0.0 0.0
  10.         Vertex  0.35  0.35  0.2 UV 1.0 0.0
  11.         Vertex  0.35  0.35 -0.2 UV 0.0 0.0
  12.         Vertex -0.35  0.35 -0.2 UV 1.0 0.0
  13.         Vertex -0.35  0.5   0.0 UV 0.0 1.0
  14.         Vertex  0.35  0.5   0.0 UV 1.0 1.0
  15.  
  16.         Surface 0.3 0.6 0.0
  17.         Color 1.0 1.0 1.0
  18.  
  19.         # Front
  20.         TextureModes foreshorten
  21.         Texture housef3
  22.         Quad 1 2 6 5
  23.  
  24.         # Right side
  25.         TextureModes foreshorten
  26.         Texture houses2
  27.         Quad 2 3 7 6
  28.  
  29.         # Back
  30.         TextureModes foreshorten
  31.         Texture housef3
  32.         Quad 3 4 8 7
  33.  
  34.         # Left side
  35.         TextureModes foreshorten
  36.         Texture houses2
  37.         Quad 4 1 5 8
  38.  
  39.         # Front roof
  40.         TextureModes foreshorten
  41.         Texture roof2
  42.         Quad 5 6 10 9
  43.  
  44.         # Back roof
  45.         TextureModes foreshorten
  46.         Texture roof2
  47.         Quad 7 8 9 10
  48.  
  49.         # Right roof
  50.         TextureModes foreshorten
  51.         Texture houses2
  52.         Triangle 6 7 10
  53.  
  54.         # Left roof
  55.         TextureModes foreshorten
  56.         Texture houses2
  57.         Triangle 8 5 9
  58.     ProtoEnd
  59.  
  60.     ClumpBegin
  61.     Scale 2 2 2
  62.     ProtoInstance house
  63.     ClumpEnd
  64.  
  65. ModelEnd
  66.