Hi Jose, Use node visitor to find all child geodes of the newly loaded node. And they convert the drawables of each geode to osg::Geometry object with a dynamic_cast<>. If the conversion successes, you may obtain the vertices and primitive sets simply from Geometry's APIs.
Cheers, Wang Rui 2011/8/30 Jose Navarro <[email protected]>: > Hi, > > I am new on all this stuff. So, I apologize if my questions are so simple. > > I am working in visual studio 2008 and OSG. In my scene, I load some .obj > files and I want to detect collision between them. I want to retrieve the > vertices of my .obj geometry to star working with them. does anybody know how > can I do this? or have an advice? > > > Thank you! > > Cheers, > Jose > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=42297#42297 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

