Hi Alexander,

To acces vertices, you just have to get each osg::Geode (use visitors).
In each geode there are drawables, that you cast into geometries or ShapeDrawables.
Geometries give you acces to the VertexArray.

Hope this helps.

Regards,
  Vincent

Alexander Martens a écrit :
Hi,

after searching into the Internet and all the available documentations, I 
wasn't able to solve the following problem:

I read in an object file by the osgDB::readNodeFile method and an bvh file by 
the osgDB::readNodeFiles() method with the corresponding options.

It's easy to visualize the data, but now I need access to the vertices, defined 
by the obj file, or the bones, defined by the bvh file.


Is it possible? Can anyone tell me shortly how to do this?

The background is that I have to implement linear blend skinning and therefore 
I need the access. The goal is that I animate the mesh imported from the object 
file corresponding to the animation of the bvh file.

I would be really thankful!
...
Thank you!

Cheers,
Alexander

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24288#24288





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4869 (20100215) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to