#VRML V2.0 utf8 # #
#[return] #
# ex-anchor.wrl
# Written By Fabiana 
# Last Modified 07-Jan-97 

#    Example : Anchor Node
#              here using an internal function as url 


Transform 
{
children [
    Viewpoint {
      position 0 0 35
      fieldOfView 0.785398
               }
    Anchor {
      url "#Doorway"
      children Shape { 
                geometry Box { }
                appearance Appearance {
                              material Material
                                       {diffuseColor .8 0.8 0}
                                         }
                       }
            }
          ]
}

DEF Doorway Viewpoint{
position 0 0 10
fieldOfView 0.785398
}

#