vr2-3-22.wrl


[ VRML source code ]

#VRML V2.0 utf8
#vr2-3-22.wrl
Shape {
  appearance Appearance {
    material Material {  
      diffuseColor 1 1 0  
    }
  }
  geometry Box {  
    size 100 10 100  
  }
}
Transform {
  translation 0 50 0
  children [
    Shape {
      appearance Appearance {
	material Material {  
          diffuseColor 0 0 0
          emissiveColor 0.8 0.8 0  
        }
      }
      geometry Sphere {  
        radius 40  
      }
    }
  ]
}
Transform {
  translation 0 10 0
  children [
    Shape {
      appearance Appearance {
        material Material {  
          diffuseColor 0 1 0  
        }
      }
      geometry Cylinder {  
        radius 20  
        height 10  
      }
    }
  ]
}
Transform {
  translation 0 100 0
  children [
    Shape {
      appearance Appearance {
        material Material {  
          diffuseColor 0 1 0 
          transparency 0.5
        }
      }
      geometry Cone {  
        bottomRadius 70  
        height 90  
        bottom FALSE
      }
    }
  ]
}
SpotLight {
  location 0 50 0
  direction 0 -1 0
  radius 60
  cutOffAngle 0.5
  beamWidth 0.3
}