Re: [osg-users] How to properly update a Geometry

2016-04-29 Thread Daniel Neos
gwaldron wrote: > If you're just updating an existing array, you don't need to call > setVertexArray (etc); but you need to mark it dirty by calling > >   m_vertices->dirty(); > > > That applies also to your other buffer objects (color array, elements, etc.) > > > > Glenn Waldron > >

Re: [osg-users] How to properly update a Geometry

2016-04-29 Thread Glenn Waldron
If you're just updating an existing array, you don't need to call setVertexArray (etc); but you need to mark it dirty by calling m_vertices->dirty(); That applies also to your other buffer objects (color array, elements, etc.) Glenn Waldron On Thu, Apr 28, 2016 at 3:51 PM, Daniel Neos

[osg-users] How to properly update a Geometry

2016-04-29 Thread Daniel Neos
Greetings everyone, I am trying to display a point cloud, consisting of vertices and color with OpenSceneGraph. A static point cloud to display is rather easy with this guide. But I am not capable of updating such a point cloud. My intention is to create a geometry and attach it to my viewer