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

talk show tell print

x-color.vr (wrl ) [ flux / bitmanagement / cortona / octaga ]


  
  
  
  
  

scene


  
  NavigationInfo {
     headlight TRUE
     type "EXAMINE"
  }
  
  

indexed face set (with colors)


  
  Transform {
     scale 2 2 2
     children [
        Shape {
           appearance Appearance {
              material Material {
                 diffuseColor 1 1 1
              }
           }
  

geometry


           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, -1 1 1, 1 1 1]
              }
              coordIndex [
                 3 2 1 0 -1
                 0 1 5 4 -1
                 1 2 6 5 -1
                 2 3 7 6 -1
                 3 0 4 7 -1
                 4 5 6 7 -1
              ]
              colorPerVertex TRUE
              color Color {
                 color [ 0 0 0, 0 0 1, 0 1 1, 0 1 0, 1 0 0, 1 0 1, 1 1 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)