media @ VU
[] readme preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthoughts appendix references resources

talk show tell print

example-slide.vr (wrl ) [ flux / blaxxun / cortona / octaga ]


  

example slide

(extern) proto(s)


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

timer


  
  DEF time TimeSensor { loop TRUE cycleInterval 2 }
  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
  

[] readme preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthoughts appendix references resources

(C) A. Eliëns 9/8/2006

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.