[osg-users] How to getting the number of vertices

2013-12-01 Thread Kim JongBum
Hi, i would like to know the number of vertices in the scene. i know how to see the value of vertices as i press 's'button. but i wanna know how can i get the value (ex_for storing into variable) Thank you! Cheers, Kim -- Read this topic online here:

Re: [osg-users] How to getting the number of vertices

2013-12-01 Thread Trajce Nikolov NICK
Hi, maybe you write a NodeVisitor and collect these informations on Geode and Geometry level by getting the vertex arrays and their count. If you want to see how many are in the current view you traverse only the active children (setting in the NodeVisitor) Nick On Mon, Dec 2, 2013 at 9:49 AM,