#VRML V2.0 utf8 # Author -- Vikas Krishna, Syracuse University, October 1996 DEF NAVIGATIONINFO1 NavigationInfo { headlight TRUE visibilityLimit 0.0 } DEF NAVIGATIONINFO2 NavigationInfo { headlight TRUE visibilityLimit 1.0 } Transform { children [ Shape { geometry Box { size 2 2 2 } appearance Appearance { material Material { ambientIntensity 0.2 diffuseColor 0.8 0.8 0.8 emissiveColor 0 0 0 shininess 1.0 specularColor 0 0 0 transparency 0.0 } texture ImageTexture { url "images/logo.gif" } textureTransform TextureTransform { center 0 0 rotation 1.0 scale 2 2 translation 2 2 } } } DEF TOUCH TouchSensor { } ] } Transform { children [ Shape { geometry Sphere { radius 1 } appearance Appearance { texture ImageTexture { url "images/earth-small.gif" } } } ] translation 3 3 0 } ROUTE TOUCH.isOver TO NAVIGATIONINFO2.set_bind