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

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


  

Web3D/VR

logo

logo


  
  PROTO logo [ 
  exposedField MFString url             [ "index.html" ]
  exposedField MFString img             [ "logo.jpg" ]
  exposedField SFVec3f     translation  0 0 0
  exposedField SFVec3f     scale            1 1 1
  ]{
  

body


  Transform {
  translation IS translation
  scale IS scale
  children [
  

elements


  Anchor {
  url IS url
  children [
          Shape {
                     geometry Sphere { } ## default
                     appearance Appearance {
                          texture ImageTexture {
                                  url IS img
                          }
                  }
             }
  ] } ## end Anchor
  

transforms cascade


  Transform { translation 0 -0.8 1.1 
   children [ Text { string "AE" } ]  }
  

end all


  ] } ## end Transform
  }   ## end PROTO
  
  

instance


  
  logo {
  url "web3d-index.html"
  img "@walk.gif" 
  translation 4 -2 0
  }
  
  

background and viewpoint


  
  Viewpoint { position 0 0 10 }
  Background { skyColor 0.2 0.5 0.5 }
  
  


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