Hi,

Okay...
I get indices like that:

_indices = 
temp->asGroup()->getChild(0)->asGroup()->getChild(i)->asGeode()->getDrawable(0)->asGeometry()->getPrimitiveSet(0);
 //temporary; data existence is checked; i know it's bad

and then

indices[i] = (int*)(*_indices).getDataPointer(); //copy to 2-dimensional array 
by mesh index

It compiles, renders. But it does render weird bunch of polygons. So my 
question is: Is there mistake with indices copying, or should i review my rener 
code?(i did some major fixes to render models, loaded with new importer, but 
maybe i missed something).

Thank you!

Cheers,
Igor

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





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

Reply via email to