Hi, What do you think of this kind of change: -adding a VertexArrayState comparator ( compare vbos and ebo and their dispatch index) -in State::SetCurrentVertexArrayState(vas): if(current->compare(vas))return; current=vas;
It would add a little overcost but would be quite usefull in case Drawable can share their vas... With the current design (createvascallback) it's possible but kind of tricky..:/ Thank you! Cheers, Julien ------------------------ Twirling twirling twirling toward freedom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75369#75369 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org