#VRML V2.0 utf8 # #
#[return] #

#ex-indexedlineset.wrl
# example of IndexedLineSet geometry

# Camera
Viewpoint {
    position    0 0 15
            }
# Illumination - just default

Shape {
    geometry IndexedLineSet {
            coordIndex [ 0, 1, 2, -1, 3, 4, 5, 3, -1] # 2 polylines
            coord  Coordinate { 
                   point [0 0 0, 1 .75 1, 2 2 0.5, 3 3 2, 4 2 2.5, 3.5 3.5 3]
                               }
            colorPerVertex FALSE  # signalizes we use one color per polyline
            color Color { color [ 0 0 1, 1 0 0 ] }
                             }
     appearance Appearance {
          material Material { }
                            }
       }

#