Hello,

I am creating some gemoetry (point cloud data) and rendering it.

Later, I need to access the vertices in that point cloud, so I store the
geometry pointer and later try to get the array data from the VBO as
follows:

osg::Vec3Array* m_vertices = dynamic_cast<osg::Vec3Array
*>(m_geometry->getVertexArray());

However, this fails. How can I do this?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to