tut12b.wrl

#VRML V2.0 utf8

WorldInfo {
   title "Floppy's VRML97 Tutorial Example 12b"
   info ["(C) Copyright 1999 Vapour Technology"
         "vrmlguide@vapourtech.com"]
}

NavigationInfo {
   headlight FALSE
   type "EXAMINE"
}

Transform {
   translation -5 0 0
   children [
      PointLight {
         color 1 1 1
         intensity 1
         ambientIntensity 0.5
         location 0 0 0
         radius 5
         attenuation 0 1 0
      }
      DEF SPHERETHING Group {
         children [
            Transform {
               translation 0 1 0
               children [
                  DEF SPHERE Shape {
                     appearance Appearance {
                        material Material {
                           diffuseColor 1 0 0
                        }
                     }
                     geometry Sphere {
                        radius 0.5
                     }
                  }
               ]
            }
            Transform {
               translation 0 2 0
               children [
                  USE SPHERE
               ]
            }
            Transform {
               translation 0 3 0
               children [
                  USE SPHERE
               ]
            }
            Transform {
               translation 0 -1 0
               children [
                  USE SPHERE
               ]
            }
            Transform {
               translation 0 -2 0
               children [
                  USE SPHERE
               ]
            }
            Transform {
               translation 0 -3 0
               children [
                  USE SPHERE
               ]
            }
         ]
      } 
      Transform {
         rotation 0 0 1 1.57
         children [
            USE SPHERETHING
         ]
      }
   ]
}

Transform {
   translation 5 0 0
   children [
      PointLight {
         color 1 1 1
         intensity 1
         ambientIntensity 0.5
         location 0 0 0
         radius 5
         attenuation 0 0 1
      }
      USE SPHERETHING
      Transform {
         rotation 0 0 1 1.57
         children [
            USE SPHERETHING
         ]
      }
   ]
}

Generated by GNU enscript 1.6.1.

© Copyright 1999 Vapour Technology - vrmlguide@vapourtech.com - http://www.vapourtech.com/vrmlguide