media @ VU 
  
  
    
    
  
web3d-problem-zooitje.vr
web3d-problem-zooitje.vr
(wrl
) 
[ flux /
bitmanagement / 
cortona / 
octaga 
]
  
 zooitje?
  
Web3D/VR
  
  
answer solution
  
  # Viewpoint { position 0 0 10 }
  # Background { skyColor 1 0 0 }
  
  
  
original
  
  Transform {
     scale 2 2 2
     children [
        Shape {
           appearance Appearance {
              material Material {
                 diffuseColor 1 1 1
              }
           }
           geometry IndexedFaceSet {
              coord DEF COORD Coordinate {
                 point [ 1 -1 -1, -1 -1 -1, -1 -1 1, 1 -1 1, 1 1 -1, 1 1 1]
              }
              coordIndex [
                 3 2 1 0 -1
                 0 1 4 -1
                 2 3 5 -1
                 3 0 4 5 -1
                 1 2 4 5 -1
              ]
              colorPerVertex TRUE
              color Color {
                 color [ 0 0 0, 0 0 1, 0 1 1, 0 1 0, 1 0 1, 1 1 0 ]
              }
           }
        }
     ]
  }
  
  
    
  
    
  
  
  
  
  
  
  
  (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.