media @ VU
[] readme course preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthoughts appendix references examples resources _

talk show tell print

web3d-x-slider.vr

web3d-x-slider.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]

Web3D/VR

slider

scene


  
  NavigationInfo {
     type "EXAMINE"
  }
  
  

group


  
  Group {
     children [
        Transform {
           children [
  
  

sensor


              DEF SENSOR PlaneSensor {
                 maxPosition 2.7 0
                 minPosition -2.7 0
              }   
  
  

slider


              DEF SLIDER Transform {
                 children [
                    Shape {
                       appearance Appearance {
                          material Material {
                             diffuseColor 1 0 0
                          }
                       }
                       geometry Box {
                          size 0.5 0.5 0.5
                       }
                    }
                 ]
              }
           ]
        }
  
  

decoration


  
        Transform {
           rotation 0 0 1 1.57
           children [
              Shape {
                 appearance Appearance {
                    material Material {
                    }
                 }
                 geometry Cylinder {
                    height 6
                    radius 0.1
                 }
              }
           ]
        }
     ]
  }
  
  

event routing


  
  ROUTE SENSOR.translation_changed TO SLIDER.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.