home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / glview.zip / RotCubes1.wrl < prev    next >
Text File  |  1995-09-15  |  893b  |  49 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.     Rotor { rotation 0 1 0  3.1414  speed 2}
  12.  
  13.     Rotor { speed -2.0 }
  14.     
  15.     DEF obj Separator {
  16.         ##    Rotation { rotation 1 0 0      1.57079 }
  17.         ##    Rotation { rotation 0 0 1     1.57079 }
  18.             Cube { }
  19.     }
  20.     }
  21.  
  22.     Separator {
  23.         Translation { translation    -2 0 0  }
  24.         Rotor { rotation 0 1 0  3.1414 }
  25.         Rotor { }
  26.         USE obj
  27.     }
  28.     Separator {
  29.         Translation { translation    2 0 0  }
  30.         Rotor { rotation 0 1 0  -3.1414 }
  31.         Rotor { speed -1.0 }
  32.         USE obj
  33.     }
  34.     
  35.     Separator {
  36.         Translation { translation    0 2 0  }
  37.         Rotor { rotation 0 1 0  -3.1414 }
  38.         Rotor { }
  39.         USE obj
  40.     }
  41.     Separator {
  42.         Translation { translation    0 -2 0  }
  43.         Rotor { rotation 0 1 0  3.1414 }
  44.         Rotor { speed -1.0 }
  45.         USE obj
  46.     }
  47.  
  48. }
  49.