Hi, I tried looking at InfoVisitor class function to get node of type osg::Geode. And I tried writting the following codes in an attempt to get the vertex information.
osg::Geode* geode = node.asGeode(); osg::Drawable *draw = geode->getDrawable(0); osg::Geometry *geo = draw->asGeometry(); osg::PrimitiveSet *pri = geo->getPrimitiveSet(0); However, I am not sure what are the functions I could used to access the vertex info. Any suggestion? Or am I doing it the right way? Thank you! Cheers, Linda ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36005#36005 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

