Hi,

Oh, i can't get a VBO from a loaded file...I need an example, how to directly 
access the arrays. Kinda stuck trying 

now i'm trying like that:

blahblahblag[0] = 
(float*)temp->asGeode()->getDrawable(0)->asGeometry()->getVertexAttribArray(0)->getDataPointer();

and it crashes osg.

it may seem stupid for osg pro, but it' structure really seems pointless for me.
Why getVertexAttribArray has an index? I thought drawable index does point to 
different meshes. Or if getVertexAttribArray does that, why getDrawable has an 
index?

Sorry for stupid questions, but i didn't find enough information about that in 
reference. 

Thank you!

Cheers,
Igor

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to