[osg-users] StatsFunctor not taking into account number of indices

2014-11-25 Thread Trajce Nikolov NICK
Hi Community, Robert, I debug the code where I have my own drawable down to -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] StatsFunctor not taking into account number of indices

2014-11-25 Thread Trajce Nikolov NICK
it sent the email too fast The code debug down to void Statistics::drawElements(GLenum mode,GLsizei count,const GLuint*) { PrimitivePair prim = _primitiveCount[mode]; ++prim.first; prim.second+=count; _primitives_count[mode] += _calculate_primitives_number_by_mode(mode, count); }

Re: [osg-users] StatsFunctor not taking into account number of indices

2014-11-25 Thread Trajce Nikolov NICK
also it has to be number of instances instead of indices Nick On Tue, Nov 25, 2014 at 12:52 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: it sent the email too fast The code debug down to void Statistics::drawElements(GLenum mode,GLsizei count,const GLuint*) {