[osg-users] Iterating over all vertices in scene

Matt Donahoe matt at skyd.io
Sun May 17 22:34:37 PDT 2015


I would like to build and export a point cloud from all the vertices in my scene. Ideally I would be able to iterate over all the vertices in global coordinates. Can someone point me in the right direction?

I assume I need some kind of NodeVisitor. I have been reading the MeshOptimizer code, but I am wondering if there is a simpler way to get the vertex data transformed into the global frame.

Thank you!


Read this topic online here:

More information about the osg-users mailing list