Texture Components

#VRML V2.0 utf8

Transform {
   translation -3 0 0
   children [
      Shape {
	 appearance Appearance {
	    material Material { diffuseColor 1 0 0 }
	    texture ImageTexture { url [ "one.gif" ] }
	 }
	 geometry Sphere { }
      }
     ]
}

Transform {
   translation -1 0 0
   children [
      Shape {
	 appearance Appearance {
	    material Material { diffuseColor 1 0 0 }
	    texture ImageTexture { url [ "two.gif" ] }
	 }
	 geometry Sphere { }
      }
     ]
}

Transform {
   translation 1 0 0
   children [
      Shape {
	 appearance Appearance {
	    material Material { diffuseColor 1 0 0 }
	    texture ImageTexture { url [ "three.gif" ] }
	 }
	 geometry Sphere { }
      }
     ]
}

Transform {
   translation 3 0 0
   children [
      Shape {
	 appearance Appearance {
	    material Material { diffuseColor 1 0 0 }
	    texture ImageTexture { url [ "four.png" ] }
	 }
	 geometry Sphere { }
      }
     ]
}

Transform {
   translation 0 0 -3
   scale 2 2 2
   children [
      Shape {
	 appearance Appearance {
	    material Material { diffuseColor 1 0 0 }
	    texture ImageTexture { url [ "components.gif" ] }
	 }
	 geometry IndexedFaceSet {
	    solid FALSE
	    coord Coordinate { point [ 2 1 0, 2 -1 0, -2 -1 0, -2 1 0 ] }
	    coordIndex [ 3 2 1 0 -1 ]
	    texCoord TextureCoordinate { point [ 1 1, 1 0, 0 0, 0 1 ] }
	 }	    
      }
     ]
}

Background { skyColor 1 1 1 }

NavigationInfo { type "EXAMINE" }


mrl