vr2-3-34.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-3-34.wrl
DEF Crown Shape {
  appearance Appearance {
    texture ImageTexture {
      url  "king1.jpg"
    }
  }
  geometry IndexedFaceSet {
    coord Coordinate {       
      point [               
        1.0  0.2 0,          
        0.3 -0.2 0,          
        0    1   0,           
       -0.3 -0.2 0,
       -1    0.2 0,
       -0.5 -0.5 0,
        0.5 -0.5 0           
      ]                  
    }                    
    coordIndex [ 0, 1, 2, 3, 4, 5, 6 ] 
    solid FALSE
  }
}
Transform {
  translation 0 0 -2
  children USE Crown
}
Transform {
  rotation 0 1 0 1.5708
  translation 1 0 -1
  children USE Crown
}
Transform {
  rotation 0 1 0 1.5708
  translation -1 0 -1
  children USE Crown
}