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

xml-slide.vr

xml-slide.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]


  
  

generated (XML) slide

(extern) proto(s)


  #@include media-proto-slideset.vr
  #@include media-proto-slide.vr
  #@include media-proto-text.vr
  #@include media-proto-line.vr
  #@include media-proto-break.vr
  
  DEF slides slideset {
  slides [
  
  slide { children [
  
  text { lines [
  
  line { string [ "What about the slide format? " ] }
  
  line { string [ "" ] }
  
  line { string [ "yeh, what about it? " ] }
  
  ] }
  
  Sphere { radius 0.5 }
  
  ] }
  
  slide { children [
  
  Sphere { radius 0.5 }
  
  ] }
  
  ] # slides
  }
  
  

timer


  
  DEF time TimeSensor { loop TRUE cycleInterval 1 }
  DEF script Script {
  eventIn SFTime pulse 
  eventOut SFInt32 next
  url "javascript:
  function pulse(value) { next = 1; Browser.print('x'); }
  "
  }
  ROUTE time.cycleTime TO script.pulse
  ROUTE script.next TO slides.next
  
  #Viewpoint { position 0 0 10 }
  


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