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-object.vr

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

Web3D/VR

(draggable) object

group (with sensor)


  
  Group {
     children [
        DEF SENSOR PlaneSensor {
           maxPosition 4.5 4.5
           minPosition -4.5 -4.5
        }
  

cone


        DEF OBJECT Transform {
           children [
              Shape {
                 appearance Appearance {
                    material Material {
                       diffuseColor 0 0 1
                    }
                 }
                 geometry Cone {
                 }
              }
           ]
        }
     ]
  }
  

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.