transform root


  
  DEF ROOT Transform {
  
  
  
  children [
          Sound {source DEF ac AudioClip        {url "../../media/sounds/plop.wav"}}
          DEF ts TouchSensor{}
          Collision {
                  collide        FALSE
          children DEF ROOT-SHAPE Shape { 
                  geometry DEF nurb NurbsSurface {
                          ccw TRUE
                          uOrder 3 
                          vOrder 3 
                          uDimension 6 
                          vDimension 4 
                          uTessellation 23
                          vTessellation 23
                          # texCoord TextureCoordGen {mode "SPHERE"}
                          texCoord TextureCoordGen {
                                          #mode "SPHERE"
                                          #mode "DOT"
                                          #mode "REFRACT"
                                          #mode "SPHERE-LOCAL"
                                          #mode "COORD-EYE"
                                          #mode "CAMERASPACEREFLECTIONVECTOR"
                                          #mode "CAMERASPACEPOSITION"
                                          mode "CAMERASPACENORMAL"
                                  }
                          #uKnot [ 0, 0, 0, 0, .5, .6, 1, 1, 1, 1]
                          #vKnot [ 0, 0, 0, 0, 1, 1, 1, 1]
                          controlPoint[ 0 0 0, 1 0 0, 2 0 0, 3 0 0, 4 0 0, 5 0 0,
                                          0 1 0, 1 1 0, 2 1 0, 3 1 0,  4 1 0, 5 1 0,
                                          0 2 0, 1 2 0, 2 2 0, 3 2 0, 4 2 0, 5 2 0,
                                          0 3 0, 1 3 0, 2 3 0, 3 3 0, 4 3 0, 5 3 0 ]
                          weight [ 1.000000 ]
                           }
                          appearance Appearance {
                              material Material { 
                                                  diffuseColor 0 0 1 
                                                  #specularColor 1 1 1
                                                  ##transparency 0.5 
                                          } 
                                  textureTransform TextureTransform { 
                                          scale 0.5 0.5 
                                          translation        1 1
                                  }
  
                                          texture 
                                          ##ImageTexture {url "chromic.jpg"}
                                          ##ImageTexture {url "../textures/stage_map.jpg"}
                                          ImageTexture {url "@logo.gif"}
                                       }
          }        
  }
  ]
  }