Hi Cory, I have never tried it but you might be able to experiment with a Vec4Array for coordinates and set the w value to 0, and the xyz to the direction vector.
Robert. On Mon, Mar 23, 2009 at 7:06 PM, Cory Riddell <[email protected]> wrote: > Right now I'm drawing some line segments like this: > osg::Geometry* geo = ...; > // define some vertices > ... > // draw lines > geo->setVertexArray(vertices); > geo->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::LINES, 0, > qty)); > > Is there a way to draw a line that goes off to infinity in one direction? > > Cory Riddell > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

