vr2-3-37.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-3-37.wrl
Shape {
  appearance Appearance {
    texture ImageTexture {
      url  "oxford1.jpg"
    }
  }
  geometry IndexedFaceSet {
    coord Coordinate {       
      point [               
          1  1 0, 
         -1  1 0, 
         -1 -1 0, 
          1 -1 0
      ]                  
    }                    
    coordIndex [ 0, 1, 2, 3 ] 
}
Transform {
  translation 2.5 0 0
  children Shape {
    appearance Appearance {
      texture ImageTexture {
        url  "oxford1.jpg"
      }
    }
    geometry IndexedFaceSet {
      coord Coordinate {       
        point [               
          1  1 0, 
         -1  1 0, 
         -1 -1 0, 
          1 -1 0
        ]                  
      }                    
      coordIndex [ 0, 1, 2, 3 ] 
      solid FALSE
      texCoord TextureCoordinate {
        point [
          0.8 0.3,
          0.6 0.3,
          0.6 0,
          0.8 0
        ]
      }
      texCoordIndex [ 0, 1, 2, 3 ]     
    }
  }
}