media @ VU
[] readme course(s) preface I 1 2 II 3 4 III 5 6 7 IV 8 9 10 V 11 12 afterthought(s) appendix reference(s) example(s) resource(s) _

talk show tell print

web3d-willem-back.vr

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


  
  
  PROTO ipodBack [
      exposedField SFRotation rotation 0 0 1 0
  ]
  {
      Transform {
            rotation IS rotation
            children [
                  Shape {
                      appearance Appearance {
                            
                            texture ImageTexture {
                                  url "ipodback2.png"
                            }
                            textureTransform TextureTransform {
                                  scale 1.65 1
                                  rotation 1.57
                            }
                            
                      }
                      geometry IndexedFaceSet {
                            coord Coordinate {
                                  point [
                                      0.0309 0.0458 0.00525,
                                      0.0309 -0.0458 0.00525,
                                      0.029157 -0.05 0.00525,
                                      0.02495 -0.05175 0.00525,
                                      -0.02495 -0.05175 0.00525,
                                      -0.029157 -0.05 0.00525
                                      
                                      -0.0309 -0.0458 0.00525,
                                      -0.0309 0.0458 0.00525,
                                      -0.029157 0.05 0.00525,
                                      -0.02495 0.05175 0.00525,
                                      0.02495 0.05175 0.00525,
                                      0.029157 0.05 0.00525,
                                      
                                      
                                      
                                      0.0289        0.0458        -0.00525,
                                      0.0289        -0.0458        -0.00525,
                                      0.02774        -0.04859        -0.00525,
                                      0.02495        -0.04975        -0.00525,
                                      -0.02495        -0.04975        -0.00525,
                                      -0.02774        -0.04859        -0.00525,
                                      
                                      -0.0289        -0.0458        -0.00525,
                                      -0.0289        0.0458        -0.00525,
                                      -0.02774        0.04859        -0.00525,
                                      -0.02495        0.04975        -0.00525,
                                      0.02495        0.04975        -0.00525,
                                      0.02774        0.04859        -0.00525
                                      
                                  ]
                            }
                            coordIndex [        
                                  ##6 5 4 3 2 1  -1
                                  ##0 7 6 1  -1
                                  ##0 11 10 9 8 7 -1
                                  
                                  13 14 15 16 17 18 -1
                                  13 18 19 12 -1
                                  19 20 21 22 23 12 -1
                                  
                                  20 19 7 8 -1
                                  21 20 8 9 -1
                                  22 21 9 10 -1
                                  23 22 10 11 -1
                                  12 23 11 0 -1
                                  13 12 0 1 -1
                                  14 13 1 2 -1
                                  15 14 2 3 -1
                                  16 15 3 4 -1
                                  17 16 4 5 -1
                                  18 17 5 6 -1
                                  19 18 6 7 -1
                            ]
                            
                      }
                  }
            ]
      }
  }
  
  ipodBack{
  }
    
  
    
  

(C) A. Eliëns 2/9/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.