proto ball


  
  PROTO Ball [field MFString BallName [ ]
               exposedField SFVec3f translation 0 0 0
               exposedField SFRotation rotation 0 1 0 0]
  {
  Transform { translation IS translation
                  rotation IS rotation
          children [
  
          Transform {        
          translation 0 0 0
        children [
          Shape {
                  appearance Appearance {material Material {diffuseColor .9 .9 .9 
                                                                          emissiveColor .9 .9 .9}
                                                  texture ImageTexture { url "@archive/soccer/ball1.gif" }
                  textureTransform TextureTransform {scale 2 2}
  }
                   geometry Sphere {radius .35}
                  } ] }# end of transform
  ] } } # end of proto ball