tut25c.wrl

#VRML V2.0 utf8

WorldInfo {
   title "Floppy's VRML97 Tutorial Example 2.5c"
   info ["(C) Copyright 2000 Vapour Technology Ltd."
         "guide@web3dguide.org.uk"]
}

NavigationInfo {
   headlight FALSE
   type "EXAMINE"
}

DirectionalLight {
   ambientIntensity 0.75
   direction 0 -1 -1
}

Transform {
   translation -2.5 0 0
   children [
      Shape {
         appearance DEF PYRAMIDAPP Appearance {
            material Material {
               diffuseColor 0 1 0
            }
         }
         geometry IndexedFaceSet {
            coord DEF COORD Coordinate {
               point [ 1 0 -1, -1 0 -1, -1 0 1, 1 0 1, 0 2 0 ]
            }
            coordIndex [
               0 4 3 -1
               1 4 0 -1
               2 4 1 -1
               3 4 2 -1
               0 3 2 1 -1
            ]
            ccw TRUE
         }
      }
   ]
}

Transform {
   translation 2.5 0 0
   children [
      Shape {
         appearance USE PYRAMIDAPP
         geometry IndexedFaceSet {
            coord USE COORD
            coordIndex [
               0 4 3 -1
               1 4 0 -1
               2 4 1 -1
               3 4 2 -1
               0 3 2 1 -1
            ]
            ccw FALSE
         }
      }
   ]
}
Generated by GNU enscript 1.6.1.