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-nurb-1.vr

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

Web3D/VR

simple nurb

scene


  NavigationInfo {
          type ["EXAMINE","ANY"]
  
  }
  
  DEF Viewpoint1 Viewpoint {
  fieldOfView 0.844104
  orientation 0 0 1 0
  position 0 0 4.00859
  description "Viewpoint1"
  }
  
  

extern


  
  

transform root


  
  Transform {
  translation -1.5 -1.5 0
  children [
          Shape { 
                  geometry DEF nurb NurbsSurface {
                          #uOrder 4 
                          #vOrder 4 
                          uDimension 4 
                          vDimension 4 
                          #uKnot [ 0, 0, 0, 0, 3, 3, 3, 3]
                          #vKnot [ 0, 0, 0, 0, 3, 3, 3, 3]
  
                          controlPoint[
                                  0 -0.5 0, 1 0.5 0, 2 -0.5 0, 3 0.5 0,
                                  #0 0 0, 1 0 0, 2 0 0, 3 0 0,
                                  0 1 0, 1 1 0, 2 1 0, 3 1 0, 
                                  0 2 0, 1 2 0, 2 2 0, 3 2 0, 
                                  0 3 0, 1 3 0, 2 3 0, 3 3 0]
  
                          }
  

appearance


                          appearance Appearance {
                              material Material { diffuseColor 0 0 1 emissiveColor 1 0 0}  # Blue 
                                          texture ImageTexture {url "alchemy.gif"}
                          #                textureTransform TextureTransform {
                          #                                center 0.6 0
                          #                                translation .5 .5
                          #                                scale 1 1
                          #                        }
                                       }
          }        
  ]
  }
  
  


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