home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / MWE105.ZIP / EExamples / Matrix.wrl < prev    next >
Text File  |  1996-01-27  |  1KB  |  78 lines

  1. #VRML V1.0 ascii
  2.  
  3. #Generated by VRMLExpress from Matrix.vxr
  4.  
  5. Separator {
  6.     renderCulling AUTO
  7.  
  8.     DEF BackgroundColor Info {
  9.         string ".1 .2 .6"
  10.     }
  11.  
  12.     Material {
  13.         ambientColor 0.2 0.2 0.2
  14.         diffuseColor 1 1 0
  15.         specularColor 0 0 0
  16.         emissiveColor 0 0 0
  17.         shininess 0.2
  18.         transparency 0
  19.     }
  20.  
  21.     DEF object Coordinate3 {
  22.         point [ 1 0 0,
  23.             2 0 0,
  24.             2 1 0,
  25.             -1 0 0,
  26.             -2 0 0,
  27.             -2 1 0,
  28.             0 0 -1,
  29.             0 0 -2,
  30.             0 1 -2,
  31.             -0.0001 0 1,
  32.             -0.0001 0 2,
  33.             -0.0001 1 2 ]
  34.     }
  35.  
  36.     DEF objectIndex IndexedFaceSet {
  37.         coordIndex [ 0, 1, 2, 0, -1, 3, 4, 5, 3, -1,
  38.              6, 7, 8, 6, -1, 9, 10, 11, 9, -1 ]
  39.         materialIndex -1
  40.         normalIndex -1
  41.         textureCoordIndex -1
  42.     }
  43.  
  44.     Material {
  45.         ambientColor 0.2 0.2 0.2
  46.         diffuseColor 1 0 0
  47.         specularColor 0 0 0
  48.         emissiveColor 0 0 0
  49.         shininess 0.2
  50.         transparency 0
  51.     }
  52.  
  53.     DEF mirror Coordinate3 {
  54.         point [ 1 0 0,
  55.             2 0 0,
  56.             2 -1 0,
  57.             -1 0 0,
  58.             -2 0 0,
  59.             -2 -1 0,
  60.             0 0 -1,
  61.             0 0 -2,
  62.             0 -1 -2,
  63.             -0.0001 0 1,
  64.             -0.0001 0 2,
  65.             -0.0001 -1 2 ]
  66.     }
  67.  
  68.     IndexedFaceSet {
  69.         coordIndex [ 0, 1, 2, 0, -1, 3, 4, 5, 3, -1,
  70.              6, 7, 8, 6, -1, 9, 10, 11, 9, -1 ]
  71.         materialIndex -1
  72.         normalIndex -1
  73.         textureCoordIndex -1
  74.     }
  75.  
  76. }
  77.  
  78.