Web3D/VRML
[] readme course preface 1 2 3 4 5 6 7 reference examples resources

talk show tell print

proto-logo.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]

logo

logo


  
  PROTO logo [ ## "@vr-extern-logo.wrl" 
  exposedField MFString string [ "AE" ]
  ]{
  Transform {
  translation 0 0 0        
  scale 1 1 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 IS string
          }
          }
          ] }
  ] }
  
  

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 ]
  }
  
  

event routing


  
  ROUTE time.fraction TO rotation.fraction
  ROUTE rotation.value TO object.rotation
  } ## end proto
  
  

scene


  
  Background { skyColor [ 0 0 0 ] }
  NavigationInfo { headlight FALSE }
  DEF Viewpoint Viewpoint {position 0 4.5 10}
  
  logo { string "D L P" }
  
  


[] readme course preface 1 2 3 4 5 6 7 reference examples resources
eliens@cs.vu.nl

draft version 0.3 (17/9/2001)