home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / glview.zip / HGAbstraction1.wrl < prev    next >
Text File  |  1996-04-06  |  4KB  |  189 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     DEF Title Info { string    "Abstraction 1"  }
  5.     Info { string "by Holger Grahn, hg@berlin.snafu.de" }
  6.  
  7.     ShapeHints {
  8.         vertexOrdering COUNTERCLOCKWISE
  9.         shapeType SOLID
  10.     }
  11.     DEF EntryView PerspectiveCamera {
  12.         position 0 0 12
  13.         orientation 0 0 1 0
  14.         focalDistance 13
  15.         heightAngle  1.3
  16.         nearDistance 0.1
  17.         farDistance 25
  18.     }
  19.  
  20.     Material {
  21.         ambientColor    0.00714286 0.00169011 0
  22.         diffuseColor    0.314286 0.0743647 0
  23.         specularColor    0.760204 0.582954 0
  24.         emissiveColor    0 0 0
  25.         shininess    0.0408163
  26.     }
  27.     
  28.     DEF objects Switch {
  29.         whichChild -1
  30.     
  31.         DEF obj Separator {
  32. ##                Cone { }
  33.                 Cube { }
  34.         }
  35.         DEF objSmall Separator {
  36.             Cube { width  0.66  depth 0.66 height 0.66 }
  37.         }
  38.  
  39.         DEF objZ Separator {
  40.                 Rotation { rotation 1 0 0     1.57079}
  41.                 USE obj
  42.         }
  43.  
  44.         DEF objTop Separator {
  45.                 Translation { translation 0 1 0  }
  46.                 USE obj
  47.         }
  48.         DEF objBottom Separator {
  49.                 Translation { translation 0 -1 0  }
  50.                 USE obj
  51.         }
  52.         DEF R90 Rotation { rotation 0 0 1     1.57079 }
  53.         DEF R_90 Rotation { rotation 0 0 1     -1.57079 }
  54.         
  55.         DEF Dcone Separator {
  56.             USE objTop
  57.             USE R90 USE R90 USE objTop
  58.         }
  59.         
  60.         DEF noCull ShapeHints {
  61.              vertexOrdering COUNTERCLOCKWISE
  62.             shapeType SOLID
  63.         }
  64.         # misc objects not needed
  65.         DEF 4top Separator {
  66.             USE objTop
  67.             USE R90 USE objTop
  68.             USE R90 USE objTop
  69.             USE R90 USE objTop
  70.         }
  71.         Separator {
  72.             Translation { translation    -1  0 0 } USE Dcone
  73.             Translation { translation    2  0 0 } USE Dcone
  74.         }
  75.         Separator {
  76.             USE objBottom
  77.             USE R90 USE objBottom
  78.             USE R90 USE objBottom
  79.             USE R90 USE objBottom
  80.         }
  81.  
  82.         DEF flyingCones Separator {
  83.         Material {
  84.             ambientColor    0.00714286 0.00169011 0
  85.             diffuseColor    0.514286 0.0743647 0.2
  86.             specularColor    0.760204 0.582954 0.2
  87.             emissiveColor    0 0 0
  88.             shininess    0.0408163
  89.             transparency    0
  90.         }
  91.  
  92.  
  93.         WWWAnchor { name "MorphedRonny.wrl"
  94.         Separator {
  95.             Translation { translation    -0.5 0.5 0  }
  96.             DEF s1 Shuttle { translation1 0 0 15  translation0 0 0 -0 speed 0.5}
  97.             Rotation { rotation 1 0 0     1.57079}
  98.             USE objSmall
  99.         }
  100.         }
  101.         
  102.         WWWAnchor { name "MorphedCow.wrl"
  103.         Separator {
  104.             Translation { translation    0.5 0.5 0  }
  105.             USE s1
  106.             Rotor {}
  107.             Rotation { rotation 1 0 0     1.57079}
  108.             USE objSmall
  109.         }
  110.         }
  111.         WWWAnchor { name "http://www.snafu.de/~hg" description "GLView homepage"
  112.         Separator {
  113.             Translation { translation    -0.5 -0.5 0  }
  114.             USE s1
  115.             Rotation { rotation 1 0 0     1.57079}
  116.             USE objSmall
  117.         }
  118.         }
  119.         Separator {
  120.             Translation { translation    0.5 -0.5 0  }
  121.             USE s1
  122.             Rotation { rotation 1 0 0     1.57079}
  123.             USE objSmall
  124.         }
  125.     }
  126.  
  127.  
  128.         
  129.  
  130.  
  131.  
  132.     }
  133.  
  134.     WWWAnchor {
  135.         name "HGJumpWorld.wrl"
  136.  
  137.         Separator {
  138.             Translation { translation    -1 1 0  } USE objZ
  139.             Translation { translation    2  0 0  } USE objZ
  140.             Translation { translation    0 -2 0  } USE objZ
  141.             Translation { translation    -2  0 0  } USE objZ
  142.             
  143.         }
  144.     
  145.         ##Cube { width  2  depth 2.2 height 0.1 }
  146.  
  147.         Separator {
  148.             Rotor { speed 0.5}
  149.             Rotation { rotation 1 0 0     0.78 }
  150.             Rotation { rotation 0 1 0     0.78 }
  151.  
  152.             Cube {}
  153.  
  154.         }
  155.  
  156.  
  157. DEF rotatingCross Separator {
  158.  
  159.     Rotation { rotation 1 0 0      -1.57079 }
  160.  
  161.  
  162.     Separator {
  163.             Rotor { speed -0.5 }
  164.             Cube { depth 9 width 1.7 height 1.7 }
  165.             Translation { translation 0 -0.3 5.3 }
  166.             Rotation { rotation 1 0 0 1.57 }
  167.             Scale { scaleFactor 0.3 0.3 0.3 }
  168.             WWWAnchor { name "MorphedRonny.wrl" 
  169.             WWWInline { name "ronny.3dv"}
  170.             }
  171.  
  172.     }
  173.     
  174.     Separator {
  175.             Translation {translation 0.0 0.0 3.0 }
  176.             Rotor { rotation 1 0 0 3.414 offset 0.25 }
  177.             Cube { width  6.0  depth 1 height 1 }
  178.     }
  179.     }
  180.  
  181.  
  182.  
  183.     
  184.         
  185. }
  186.  
  187.  
  188. }
  189.