home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / glview.zip / RotCubes0.wrl < prev    next >
Text File  |  1995-10-01  |  704b  |  44 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     DEF Title Info { string    "Test for GLView 4 rotating cubes"    }
  5.     ShapeHints {
  6.         vertexOrdering COUNTERCLOCKWISE
  7.         shapeType SOLID
  8.     }
  9.     
  10.     Separator {
  11.  
  12.     Rotor { speed -2.0 }
  13.     
  14.     DEF obj Separator {
  15.         ##    Rotation { rotation 1 0 0      1.57079 }
  16.         ##    Rotation { rotation 0 0 1     1.57079 }
  17.             Cube { }
  18.     }
  19.     }
  20.  
  21.     Separator {
  22.         Translation { translation    -2 0 0  }
  23.         Rotor { }
  24.         USE obj
  25.     }
  26.     Separator {
  27.         Translation { translation    2 0 0  }
  28.         Rotor { speed -1.0 }
  29.         USE obj
  30.     }
  31.     
  32.     Separator {
  33.         Translation { translation    0 2 0  }
  34.         Rotor { }
  35.         USE obj
  36.     }
  37.     Separator {
  38.         Translation { translation    0 -2 0  }
  39.         Rotor { speed -1.0 }
  40.         USE obj
  41.     }
  42.  
  43. }
  44.