Hello guys,
I am new to osg. I have loaded an obj file using osgDB but I don't know how to
access vertex and texture indices. I can get the vertex array from the geometry
usingpGeo.get()->getVertexArray() method but pGeo.get()->getVertexIndices()
returns null. I cant figure out how the indices are stored for the vertices
and the texture. The model is loaded and displayed fine so there is definitely
a problem in the way I am accessing the data. Would really appreciate any help.
Thanks
_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org