[osg-users] Get all vertices of an OSG Group
Clement Begotto
c.begotto at laposte.net
Fri Mar 25 09:30:20 PDT 2016
Hi,
I have to work on a point cloud which was stored in .osgb files for LOD management reasons. I have extracted it in an osg::Group, then this Group contains other Groups and so on.
I need to access every points of my cloud to extract coordinate or colors. I don't know if there is an easy way to do it since these are contained in osg::Drawables that are contained in osg::Geodes.
Do you know a simple way to do it ? Or do I have to explorate my first group recursivly in order to get vertices and colors arrays and to copy them in a std::map ?
...
Thank you!
Cheers,
Clement
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66627#66627
More information about the osg-users
mailing list