Anchor Example 1

Sphere src

#VRML V2.0 utf8

Viewpoint { position 0 0 10 }

Anchor {

   url "http://web.syr.edu/~dmallen/vrml_lr/demo/lr/anchorEx1.wrl"
   children [

######## This code defines the sphere
      Transform {
         children [
            NavigationInfo { headlight FALSE }

            DirectionalLight {
	       direction 0 0 -1
            }

            Transform {
               translation 0 0 0
	       children [
	          Shape {
	             geometry Sphere { radius 2.0 }
	             appearance Appearance {
		        material Material { diffuseColor 1 0 0 }
                     }
                  }
               ]
            }

         ]
      }
########

   ]
}