[osg-users] Get all vertices of an OSG Group

Clement Begotto c.begotto at laposte.net
Thu Mar 31 12:21:29 PDT 2016

I have a 3D model stored in .osgb files with different level of details, this is the main reason I chose to use OSG. It consists of a 3D point cloud and images painted on it.

Now, I want to focus on a pattern recognition process so I am trying to get every vertices coordinates and assign them RGBA colors.

I cannot supply an example file but here is a analog I found when converting a random .obj file.

The question remains the same : how can I attach an osg::Vec4 colors for each osg::Vec3 vertex in this case ?

I hope this is more clear..

Thank you!


Read this topic online here:


More information about the osg-users mailing list