media @ VU 
  
 
 
 
 
  
    
    
  
web3d-light-cone.vr
web3d-light-cone.vr
(wrl
) 
[ flux /
bitmanagement / 
cortona / 
octaga 
]
  
Web3D/VR
  
 cone
  
group (with sensor)
  
  Group {
     children [
        DEF SENSOR PlaneSensor {
           maxPosition 0.45 0.45
           minPosition -0.45 -0.45
        }
  
  
cone
        DEF OBJECT Transform {
           children [
              DirectionalLight { direction 1 0 -1 color 1 1 1 }
              Shape {
                 appearance Appearance {
                    material Material {
                       diffuseColor 0 1 1
                    }
                 }
                 geometry Cone {
                    height 0.1
                    bottomRadius 0.05
                 }
              }
           ]
        }
     ]
  }
  
  
event routing
  ROUTE SENSOR.translation_changed TO OBJECT.set_translation
  
    
  
    
  
  
  
  
  
  
  
  (C) A. Eliëns 
  21/5/2007
  
  You may not copy or print any of this material without explicit permission of the author or the publisher. 
  
In case of other copyright issues, contact the author.