#VRML V2.0 utf8 # # VRML Root Scene for GetNodeInfo Applet # NavigationInfo { # Use type NONE since the WALK and FLY viewers try to keep # the camera "right side up"! # But also specify ANY in case the user wants to experiment # with other nav types. type [ "FLY", "ANY" ] } WorldInfo { title "Get Node Info" info "Made by Daniel.Schneider@tecfa.unige.ch, objects taken from the Descent Demo" } # # a SINGLE ViewPoint (to which the user will be bound) # DEF Entry Viewpoint { position 0 1 15 orientation 0 1 0 0.1 description "Entry" } # added on 5/2000 DKS, much smarter choice for an example # However, Blaxxun Contact does not seem to see orientation_changed from the EAI # Cosmo 2.1 does. DEF Spy ProximitySensor { center 0 0 0 size 1000 1000 1000 enabled TRUE } # A simple scene to navigate around in # # The floor # DEF FloorGroup Group { children [ DEF FloorShape Shape { appearance Appearance { material DEF FloorColor Material { diffuseColor 0 0 0 specularColor 0 0 0 ambientIntensity 0 emissiveColor 0.2 0.2 0.4 } } geometry DEF FloorIFS IndexedFaceSet { coord DEF FloorCoordinates Coordinate { point [ -50 -1 -50, 50 -1 -50, -50 -1 50, 50 -1 50 ] } solid TRUE creaseAngle 0.5 coordIndex [ 0, 2, 1, -1, 1, 2, 3, -1 ] colorIndex [ 0, 0, 0, -1, 0, 0, 0, -1 ] } } ] } # # Some objects # Transform { children Shape { appearance Appearance { material Material { ambientIntensity 0.0984762 diffuseColor 0.797872 0.124668 0.124668 specularColor 0 0 0 emissiveColor 0 0 0 shininess 0.157143 transparency 0 } } geometry Box {} } translation -8 0 0 } Transform { children Shape { appearance Appearance { material Material { ambientIntensity 0.283774 diffuseColor 0.0846193 0.56383 0.0595097 specularColor 0.13092 0.87234 0.0920716 emissiveColor 0 0 0 shininess 0.2 transparency 0 } } geometry Sphere {} } translation -4 0 0 } Transform { children Shape { appearance Appearance { material Material { ambientIntensity 0.306939 diffuseColor 0.0316982 0.159593 0.521277 specularColor 0 0 0 emissiveColor 0.0608088 0.306157 1 shininess 0.2 transparency 0 } } geometry Cone {} } translation 0 0 0 } Transform { children Shape { appearance Appearance { material Material { ambientIntensity 0.2 diffuseColor 0.8 0.757982 0.224457 specularColor 0 0 0 emissiveColor 0 0 0 shininess 0.2 transparency 0 } } geometry Cylinder {} } translation 4 0 0 }