Web3D/VRML
[] readme course preface 1 2 3 4 5 6 7 reference examples resources

talk show tell print

problem-zooitje.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]


  

zooitje?

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 ]
              }
           }
        }
     ]
  }
  
  


[] readme course preface 1 2 3 4 5 6 7 reference examples resources
eliens@cs.vu.nl

draft version 0.3 (17/9/2001)