On Mon, Apr 6, 2009 at 12:18 AM, Christian Sam <osgfo...@tevs.eu> wrote:

> is it possible to use the VertexArray from the loaded scenefile in a new
> created Drawable (which will display my analyzing results), AND add
> additional vertices, based on the analyzing process to it?
> Or will i have to allocate a new VertexArray for my Drawable and copy the
> loaded file's VertexArray by Value into it?

Yes, ref counting means you can share objects such as osg::Vec3Arrays.  Note
that OSG itself has a .shp plugin that loads the shape files as Vec3dArray
which while very slow for rendering are very good to accuracy.

osg-users mailing list

Reply via email to