#VRML V2.0 utf8

# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.

EXTERNPROTO PseudoCollision4Examine
[
  eventOut SFFloat toNavigationInfoSpeed
  field SFVec3f innerProximitySize
  field SFVec3f outerProximitySize 
  field SFFloat defaultSpeed
]
[
"../../../lib/VRML97protos/PseudoCollision4ExaminePROTO.wrl"
"PseudoCollision4ExaminePROTO.wrl"
"/usr/lib/VRML97protos/PseudoCollision4ExaminePROTO.wrl"
"/usr/local/lib/VRML97protos/PseudoCollision4ExaminePROTO.wrl"
]

DEF NavigationInfo1 NavigationInfo 
  {
  type 
    [
    "EXAMINE"
    "ANY"
    ]
  }

Transform 
  {
  children 
    [
    Collision 
      {
      children 
	[
	Group 
	  {
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  diffuseColor 1 0 0
		  emissiveColor 1 0 0
		  shininess 7.812500e-2
		  specularColor 0.500000 0.500000 0.500000
		  }
		}
	      geometry 	      IndexedLineSet 
		{
		coord 		Coordinate 
		  {
		  point 
		    [
		    -1 -1 -1 
		    -1 1 -1 
		    1 1 -1 
		    1 -1 -1 
		    -1 -1 1 
		    -1 1 1 
		    1 1 1 
		    1 -1 1 
		    ]
		  }
		coordIndex 
		  [
		  0 1 2 3 0 -1 
		  6 7 3 2 6 -1 
		  7 6 5 4 7 -1 
		  4 5 1 0 4 -1 
		  1 5 6 2 1 -1 
		  4 0 3 7 4 -1 
		  ]
		}
	      }
	    ]
	  }
	]
      collide FALSE
      }
    DEF PSEUDOCOLLISION1 PseudoCollision4Examine 
      {
      innerProximitySize 2 2 2
      outerProximitySize 3 3 3
      defaultSpeed 5
      }
    Transform 
      {
      children 
	[
	Shape 
	  {
	  appearance 	  Appearance 
	    {
	    material 	    Material 
	      {
	      }
	    }
	  geometry 	  Sphere 
	    {
	    radius 0.100000
	    }
	  }
	]
      }
    ]
  }

ROUTE PSEUDOCOLLISION1.toNavigationInfoSpeed TO NavigationInfo1.set_speed

Viewpoint 
  {
  }

Transform 
  {
  children 
    [
    Collision 
      {
      children 
	[
	Group 
	  {
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  diffuseColor 1 0 0
		  emissiveColor 1 0 0
		  shininess 7.812500e-2
		  specularColor 0.500000 0.500000 0.500000
		  }
		}
	      geometry 	      IndexedLineSet 
		{
		coord 		Coordinate 
		  {
		  point 
		    [
		    -1 -1 -1 
		    -1 1 -1 
		    1 1 -1 
		    1 -1 -1 
		    -1 -1 1 
		    -1 1 1 
		    1 1 1 
		    1 -1 1 
		    ]
		  }
		coordIndex 
		  [
		  0 1 2 3 0 -1 
		  6 7 3 2 6 -1 
		  7 6 5 4 7 -1 
		  4 5 1 0 4 -1 
		  1 5 6 2 1 -1 
		  4 0 3 7 4 -1 
		  ]
		}
	      }
	    ]
	  }
	]
      collide FALSE
      }
    DEF PSEUDOCOLLISION2 PseudoCollision4Examine 
      {
      innerProximitySize 2 2 2
      outerProximitySize 3 3 3
      defaultSpeed 5
      }
    Transform 
      {
      children 
	[
	Shape 
	  {
	  appearance 	  Appearance 
	    {
	    material 	    Material 
	      {
	      }
	    }
	  geometry 	  Sphere 
	    {
	    radius 0.100000
	    }
	  }
	]
      }
    ]
  translation 2.908061 0 0
  }

ROUTE PSEUDOCOLLISION2.toNavigationInfoSpeed TO NavigationInfo1.set_speed

DEF REST Group 
  {
  children 
    [
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "up of the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation -3.583168 3.107064 0
      }
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "below the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation -3.526972 -3.777904 0
      }
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "front of the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation -3.272972 -0.357538 12.750471
      }
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "back of the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation -3.526771 -0.978772 -8.109170
      }
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "right of the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation 6.878602 0.320845 0
      }
    Transform 
      {
      children 
	[
	Billboard 
	  {
	  axisOfRotation 0 0 0
	  children 
	    [
	    Shape 
	      {
	      appearance 	      Appearance 
		{
		material 		Material 
		  {
		  }
		}
	      geometry 	      Text 
		{
		string 
		  [
		  "left of the box"
		  ]
		}
	      }
	    ]
	  }
	]
      translation -11.180147 0.320845 0
      }
    ]
  }

Transform 
  {
  children 
    [
    Shape 
      {
      appearance       Appearance 
	{
	material 	Material 
	  {
	  diffuseColor 1 0 0
	  emissiveColor 1 0 0
	  shininess 7.812500e-2
	  specularColor 1.568626e-2 1.568626e-2 1.568626e-2
	  }
	}
      geometry       Text 
	{
	string 
	  [
	  "Try to reach the spheres"
	  ]
	}
      }
    ]
  scale 0.400000 0.400000 0.400000
  translation -2.425354 -1.736930 0
  }

