Prelighting


#VRML V2.0 utf8

Shape {
   appearance Appearance {
      texture ImageTexture { url [ "leftWall.jpg" ] }
   }
   geometry IndexedFaceSet {
      solid FALSE
      coord Coordinate { point [ 0 2 0, 0 0 0, 0 0 2, 0 2 2 ] }
      coordIndex [ 3 2 1 0 -1 ]
      texCoord TextureCoordinate { point [ 1 1, 1 0, 0 0, 0 1 ] }
      texCoordIndex [ 3 2 1 0 -1 ]
   }	    
}

Shape {
   appearance Appearance {
      texture ImageTexture { url [ "rightWall.jpg" ] }
   }
   geometry IndexedFaceSet {
      solid FALSE
      coord Coordinate { point [ 2 2 0, 2 0 0, 0 0 0, 0 2 0 ] }
      coordIndex [ 3 2 1 0 -1 ]
      texCoord TextureCoordinate { point [ 1 1, 1 0, 0 0, 0 1 ] }
      texCoordIndex [ 3 2 1 0 -1 ]
   }	    
}

Shape {
   appearance Appearance {
      texture ImageTexture { url [ "stoneFloor.jpg" ] }
   }
   geometry IndexedFaceSet {
      solid FALSE
      coord Coordinate { point [ 2 0 0, 2 0 2, 0 0 2, 0 0 0 ] }
      coordIndex [ 3 2 1 0 -1 ]
      texCoord TextureCoordinate { point [ 0 1, 1 1, 1 0, 0 0 ] }
      texCoordIndex [ 3 2 1 0 -1 ]
   }	    
}

Transform {
   translation .5 1 .25
   scale .1 .1 .1
   children [
      Shape {
	 appearance Appearance {
	    material Material { emissiveColor 1 1 1 }
	 }
	 geometry Sphere { }
      }
      Transform {
	 translation 0 0 -1
	 rotation 1 0 0 1.57
	 children [
	    Shape {
	       appearance Appearance {
		  material Material { diffuseColor .2 .1 .05 }
	       }
	       geometry Cylinder { radius .25  height 3 }
	    }
	   ]
      }
   ]
}


Background { skyColor 1 1 1 }
Viewpoint { position 1 1 6 }
NavigationInfo { type "EXAMINE" }


mrl