home *** CD-ROM | disk | FTP | other *** search
/ Using VRML (Special Edition) / Special_Edition_Using_VRML_CDROM_Que_1996.iso / webpages / objects / chap14 / pyr3.wrl < prev    next >
Text File  |  1995-12-22  |  449b  |  25 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     Texture2 { filename "bridge.bmp" }
  5.     Coordinate3 { point [ -1 0 -1, 1 0 -1, 1 0 1, -1 0 1, 0 1 0 ] }
  6.     TextureCoordinate2 { point [ 0 0, .5 1, 1 0, 0 1, 1 1 ] }
  7.     IndexedFaceSet {
  8.         coordIndex [
  9.             0, 4, 1, -1,
  10.             1, 4, 2, -1,
  11.             2, 4, 3, -1,
  12.             3, 4, 0, -1,
  13.             0, 1, 2, 3, -1
  14.         ]
  15.         textureCoordIndex [
  16.             0, 1, 2, -1,
  17.             0, 1, 2, -1,
  18.             0, 1, 2, -1,
  19.             0, 1, 2, -1,
  20.             0, 3, 4, 2, -1
  21.         ]
  22.     }
  23. }
  24.  
  25.