Hi, My question is probably basic, but I didn't find the solution. So I come to you for an explanation, please...
I use a osg::Vec3Array* object. Concretely, in my application, I call : osg::Vec3Array* vertex = dynamic_cast<osg::Vec3Array*>(geom->getVertexArray()); to get the array of vertices (I want to draw triangles implied by an intresection with a ray). If I want to get the 3 coordinates (float) of the vertex number X, how do I manipulate the Vec3Array ? I did'nt find the method that permits to read a Vec3Array. In all basic examples, we write it via the PushBack function. Thank you in advance for your help. Cheers, Mathieu ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29917#29917 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

