If you tell me the coordinate of infinity  I'll tell you how to the draw
that line 


Gordon
Product Manager 3d
__________________________________________________________
Gordon Tomlinson
Email  : gtomlinson @ overwatch.textron.com
__________________________________________________________


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Cory
Riddell
Sent: Monday, March 23, 2009 3:07 PM
To: OpenSceneGraph Users
Subject: [osg-users] how to draw a half line?

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.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to