#VRML V2.0 utf8

Transform {
   translation 0 0 10
   children Shape {
      geometry Sphere { radius 1 }
      appearance PhBAppearance {
	 surface PhBHomogeneousSurface {
	    edf PhBEDF {
	       intensity 10000
	       emitter PhBDiffuseEmitter {}
	    }
	 }
      }
   }
}

Transform {
   children [
      DEF facet Shape {
	 appearance Appearance {
	    material	DEF _DefMat Material {
	       diffuseColor	1 1 1
	       specularColor 0.1 0.1 0.1
	       transparency 0.9
	    }
	    texture	ImageTexture {
	       url	"mercuryTexture.ppm"
	    }
	    #	 textureTransform TextureTransform {
	    #	    scale 2 2
	    #	 }
	 }
	 geometry IndexedFaceSet {
	    coord Coordinate {
	       point [ 0 0 0 , 1 0 0 , 1 1 0 , 0 1 0 ]
	    }
	    coordIndex [ 0 1 2 3 -1 ]
	    texCoord TextureCoordinate {
	       point [ 0 0 , 1 0 , 1 1 , 0 1 ]
	    }
	    texCoordIndex [ 0 1 2 3 -1 ]
	 }
      }
      Transform {
	 translation 0.2 0.2 0.2
	 children USE facet
      }
     ]
}
