#Inventor V2.0 ascii # generated by /users/msimkin/bin/drawiv.pl # part of HoloDraw; download the latest version from http://holodraw.org # this is an example showing how to draw a triangle # of three different colored lines # set the color for subsequent objects to RED # draw one RED line from 0 0 0 to 3 4 5 Separator { DrawStyle { lineWidth 1 } BaseColor { rgb [ 1 0 0 ] } Coordinate3 { point [ 0 0 0, 3 4 5 ] } IndexedLineSet { coordIndex [ 0, 1 ] } } # set the color for subsequent objects to GREEN # draw one GREEN line from 3 4 5 to 3 2 1 Separator { DrawStyle { lineWidth 1 } BaseColor { rgb [ 0 1 0 ] } Coordinate3 { point [ 3 4 5, 3 2 1 ] } IndexedLineSet { coordIndex [ 0, 1 ] } } # set the color for subsequent objects to BLUE # draw one BLUE line from 3 2 1 to 0 0 0 Separator { DrawStyle { lineWidth 1 } BaseColor { rgb [ 0 0 1 ] } Coordinate3 { point [ 3 2 1, 0 0 0 ] } IndexedLineSet { coordIndex [ 0, 1 ] } }