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

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


  

(example) dialog

Web3D/VR

extern


  
  EXTERNPROTO dialog [
  
  exposedField SFVec3f translation 
  exposedField SFVec3f scale 
  exposedField SFRotation rotation 
  
  exposedField MFString scene 
  exposedField SFTime speed 
  exposedField SFBool reverse 
  
  
  
  exposedField MFString r_string 
  
  exposedField SFInt32 r_max 
  exposedField MFString r_01 
  exposedField MFString r_02 
  exposedField MFString r_03 
  exposedField MFString r_04 
  exposedField MFString r_05 
  exposedField MFString r_06 
  exposedField MFString r_07 
  exposedField MFString r_08 
  exposedField MFString r_09 
  exposedField MFString r_10 
  exposedField MFString r_11 
  exposedField MFString r_12 
  
  exposedField SFColor r_text 
  exposedField SFColor r_color 
  exposedField SFFloat r_transparency 
  
  exposedField MFString r_background 
  
  exposedField SFVec3f r_scale 
  exposedField SFVec3f r_translation 
  exposedField SFRotation r_rotation 
  
  exposedField SFVec3f r_text_scale 
  exposedField SFVec3f r_text_translation 
  exposedField SFRotation r_text_rotation 
  
  
  
  exposedField MFString l_string 
  
  exposedField SFInt32 l_max 
  exposedField MFString l_01 
  exposedField MFString l_02 
  exposedField MFString l_03 
  exposedField MFString l_04 
  exposedField MFString l_05 
  exposedField MFString l_06 
  exposedField MFString l_07 
  exposedField MFString l_08 
  exposedField MFString l_09 
  exposedField MFString l_10 
  exposedField MFString l_11 
  exposedField MFString l_12 
  
  exposedField SFColor l_text 
  exposedField SFColor l_color 
  exposedField SFFloat l_transparency 
  
  exposedField MFString l_background 
  
  exposedField SFVec3f l_scale 
  exposedField SFVec3f l_translation 
  exposedField SFRotation l_rotation 
  
  exposedField SFVec3f l_text_scale 
  exposedField SFVec3f l_text_translation 
  exposedField SFRotation l_text_rotation 
  
  ][ "@vr-proto-dialog.wrl#dialog" ]
  
  

dialog


  
  dialog {
  scene "@vr-web3d-box.wrl"
  
  speed 2
  
  r_string [ "well" "eh" ]
  l_string [ "hi" ]
  
  r_max 12
  l_max 12
  r_01 [ "how" "are" "you?" ]
  l_01 [ "fine" "thank" "you" ]
  r_02 [ "tell" "me" "..." ]
  l_02 [ "yes" "eh" "..." ]
  r_03 [ "what do" "you think" "of" ]
  l_03 [ "what?" "..." ]
  r_04 [ "the 11th" "of september" "!" ]
  l_04 [ "the crash" "you mean?" ]
  r_05 [ "of course!" ]
  l_05 [ "well eh" "..." ]
  r_06 [ "please" "speak out!" ]
  l_06 [ "yes eh," "I think ..." ]
  r_07 [ "now," "what do you" "think?" ]
  l_07 [ "I think" "that" "eh terrorism" "..." ]
  r_08 [ "what" "about" "terrorism?" ]
  l_08 [ "acts" "of" "violence" ]
  r_09 [ "yes eh" "violence ..." ]
  l_09 [ "against" "humanity" "..." ]
  r_10 [ "like in" "New York?" ]
  l_10 [ "against" "innocent" "citizens" ]
  r_11 [ "americans" "you mean?" ]
  l_11 [ "right!" "and I think" "that .." ]
  r_12 [ "" "what?" ]
  l_12 [ "I'll miss" "the" "skyline" ]
  
  }
  
  

scene


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


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