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

proto-slide-effects-transitions.vr

proto-slide-effects-transitions.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]


  

effects

Web3D/VR

1


  
  PROTO ShowAnim1 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 15, 0 0 5, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

2


  PROTO ShowAnim2 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 20 0 0, 8 0 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

3


  PROTO ShowAnim3 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ -20 0 0, -8 0 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

4


  PROTO ShowAnim4 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 20 0, 0 8 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

5


  PROTO ShowAnim5 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 -20 0, 0 -8 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  
  

6


  PROTO ShowAnim6 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 15, 0 0 5, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 3.14, 0 0 1 6.28 ] 
      }
  }
  

7


  PROTO ShowAnim7 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 20 0 0, 8 0 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 1 0 0, 0 1 0 3.14, 0 1 0 6.28 ] 
      }
  }
  

8


  PROTO ShowAnim8 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ -20 0 0, -8 0 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 1 0 0, 0 1 0 -3.14, 0 1 0 -6.28 ] 
      }
  }
  

9


  PROTO ShowAnim9 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 20 0, 0 8 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 1 0 0 0, 1 0 0 3.14, 1 0 0 6.28 ] 
      }
  }
  

10


  PROTO ShowAnim10 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 -20 0, 0 -8 0, 0 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 1 0 0 0, 1 0 0 -3.14,  1 0 0 -6.28 ] 
      }
  }
  
  

hide 1


  
  PROTO HideAnim1 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 0 5, 0 0 15 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

2


  PROTO HideAnim2 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 5 0 0 , 20 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

3


  PROTO HideAnim3 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, -5 0 0, -20 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

4


  PROTO HideAnim4 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 5 0 , 0 20 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

5


  PROTO HideAnim5 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 -5 0 , 0 -20 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 0, 0 0 1 0 ] 
      }
  }
  

6


  PROTO HideAnim6 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 0 5, 0 0 15 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 1 0, 0 0 1 -3.14, 0 0 1 -6.28 ] 
      }
  }
  

7


  PROTO HideAnim7 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 5 0 0 , 20 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 1 0 0, 0 1 0 3.15, 0 1 0 6.28 ] 
      }
  }
  

8


  PROTO HideAnim8 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, -5 0 0, -20 0 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 1 0 0, 0 1 0 -3.14, 0 1 0 -6.28 ] 
      }
  }
  

9


  PROTO HideAnim9 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 5 0, 0 20 0 ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 1 0 0 0, 1 0 0 3.14, 1 0 0 6.28 ] 
      }
  }
  

19


  PROTO HideAnim10 [
      eventIn  SFFloat    set_fraction
      eventOut SFVec3f    translation
      eventOut SFRotation rotation
  ] {
      PositionInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS translation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 0 0 0, 0 -5 0 , 0 -20 0  ] 
      }
      OrientationInterpolator {    
          set_fraction  IS set_fraction
          value_changed IS rotation
          key [ 0.0, 0.5, 1.0 ]    
          keyValue [ 1 0 0 0, 1 0 0 -3.14, 1 0 0 -6.28 ] 
      }
  }
  
  

transitions


  
  PROTO TransitionEffects [
      exposedField MFNode show [
          ShowAnim1{},ShowAnim2{},ShowAnim3{},ShowAnim4{},ShowAnim5{},
          ShowAnim6{},ShowAnim7{},ShowAnim8{},ShowAnim9{},ShowAnim10{}
      ] 
      exposedField MFNode hide [
          HideAnim1{},HideAnim2{},HideAnim3{},HideAnim4{},HideAnim5{},
          HideAnim6{},HideAnim7{},HideAnim8{},HideAnim9{},HideAnim10{}
      ] 
  ] {
  }
  
  


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