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

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


  
  

Web3D/VR

talk

extern bulb


  EXTERNPROTO bulb [
  eventIn MFString message
  exposedField SFInt32 type
  exposedField SFColor text
  exposedField SFVec3f scale
  exposedField MFString string
  exposedField SFColor color
  exposedField SFVec3f translation
  exposedField SFFloat transparency 
  ][ "@vr-web3d-x-bulb.wrl#bulb" ]
  
  

repertoire


  
  EXTERNPROTO repertoire [
  eventIn SFInt32 next 
  eventOut MFString string
  exposedField SFInt32 max 
  exposedField MFString u01 
  exposedField MFString u02 
  exposedField MFString u03 
  exposedField MFString u04 
  exposedField MFString u05 
  exposedField MFString u06 
  exposedField MFString u07 
  exposedField MFString u08 
  exposedField MFString u09 
  exposedField MFString u10 
  exposedField MFString u11 
  exposedField MFString u12 
  ][ "@vr-web3d-x-repertoire.wrl#repertoire" ]
  
  

scene


  
  NavigationInfo { type ["WALK","ANY"] }
  
  DEF camera Viewpoint { position 0 0 10 }  
  
  Background {
    groundAngle  [1.57]
    skyAngle     [1.57]
    groundColor  [0 .3 0, .3 .5 .3]
    skyColor     [0 0 .3, .3 .3 .5]
  }
  
  

participants


  
  PROTO simple_dialog [
  ]{
  NurbsGroup {
  children [
  Inline { url "@vr-box.wrl" }
  
  DEF b1 bulb {
      scale 2 1 1 
      color 1 0.4 0.2
      string [ "well" "eh" ]
      text 0 1 1 
      transparency 0.2
      }
  
  DEF b2 bulb {
      type 1
      text 1 1 1
      scale 1 1 1
      color 1 0 0
      string [ "hi" ]
      transparency 0.2
      }
  ]
  
  }
  
  } ## end proto
  
  

final scene


  
  simple_dialog { }
  
  


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