GLU presents smooth curve and surface interfaces, but at the backend simply draws individual line segments that connect points. You can do the same in OSG using the osg::Geometry class. If you want, you can derive a new class from osg::Geometry and add an interface for your curve, or you can just fill the Geometry with vertices that approximate your curve. -Paul
> > Hello osg users, > > I would like to draw a nice curved line between a number of > x,y,z points. How do I do this? I can not find any spline or > curve primitives. > I know that gluNurbsCurve supports this. But I can not find a > way how OSG does this. > > Hope you can help me > Lambert Verhagen. > > > Visit us at the Marintec China 2007, the All China Maritime > Exhibition in Shanghai, from 27-30 November 2007 > > > This e-mail and its content are subject to the disclaimer and > General Conditions at www.marin.nl > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce negraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

