Hi,

Ok, i'm still trying just to get data from object...
For the beginning i'm trying to copy only vertex array's.

For example - only first mesh:

vertices[s][v] = 
temp->asGroup()->getChild(0)->asGroup()->getChild(0)->asGeode()->getDrawable(0)->asGeometry()->getVertexArray()[v];

And WTF? WTF is osg::Array? Why it is returned when index is set? Why it even 
exists? How should i get data? 

getDataPointer() returns GLvoid pointer. Shame on me, but i dont know, how to 
use it.

Thank you!

Cheers,
Igor

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





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

Reply via email to