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

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

Web3D/VR

dlp

scene


  
  Background { skyColor [ 0 0 0 ] }
  NavigationInfo { headlight FALSE }
  DEF Viewpoint Viewpoint {position 0 4.5 10}
  
  

object


  
  Transform {
  translation 0 4.5 0        
  scale 4 4 1
  children [
  PointLight { location 0 0 5 attenuation 0 0 0 radius 20 } 
  DEF object Transform {
          children [
          Shape { 
          appearance Appearance { 
             material Material {
                  diffuseColor 1 1 1
                  }
          }
  
  
          geometry Text { 
                  fontStyle FontStyle {
                          justify "MIDDLE"
                          }
                  string "D  L  P"
          }
          }
          ] }
  ] }
  
  

sensor and interpolator


  
  DEF time TimeSensor { cycleInterval 10 loop TRUE enabled TRUE }
  DEF rotation OrientationInterpolator {
  key [ 0 0.25 0.5 0.75 1 ]
  keyValue [ 1 1 0 0, 1 1 0 1.57, 1 1 0 3.14
             1 1 0 4.71, 1 1 0 0 
           ]
  }
  
  
  
  
  ROUTE time.fraction TO rotation.fraction
  ROUTE rotation.value TO object.rotation
  


(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.