#VRML V2.0 utf8 # WorldInfo to give some basic information WorldInfo { title "VRML 2.0 IndexedLineSet Example" } # IndexedLineSet (example of lines) Transform { translation 0 0 0 children [ Shape { geometry IndexedLineSet { coord Coordinate { point [ 0 0 0, # Point 0 1 0 0, # Point 1 1 1 0, # Point 2 0 1 0, # Point 3 ] } coordIndex [0, 1, 2, 3, 0, -1] # Close the square } appearance Appearance { material Material { emissiveColor 0 1 1 # Cyan } } } ] }