[osg-users] how to draw a half line?

Tomlinson, Gordon GTOMLINSON at overwatch.textron.com
Mon Mar 23 12:10:35 PDT 2009


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: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] 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
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g



More information about the osg-users mailing list