Hi Yegor, You could either use a line geometry that you add a new vertex every N frames. It may be best to create a static stized vertex array and use indices into it decide how many to draw and use it a bit like a ring buffer.
Alternatively you could use a particle trail, see osgpartleffects for what it does when it attaches a SmokeTrailEffect. Robert. On 1/20/07, Yegor Plam at RR <[EMAIL PROTECTED]> wrote:
Hi, What is a good strategy for drawing the trailing orbit of a spacecraft? That is: as the SV moves, it leaves a trail. Thus the trail is growing (always changing) and it is not possible to create the entire 'orbit geometry' all at once (a-priori). A related question is: what kind of geometry/drawable object to use to display an orbit? I couldn't find a Spline or Bezier_Curve class in the list of classes. Thanks very much. -Yegor _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
