Hi sdb,

If you mean count how many triangles in a drawable, just get all the
primitive sets of the geometry and try to analyse them. Another way is to
use a TriangleFunctor. You may have a look at osgUtil::SmoothingVisitor.

Wang Rui
2008/11/15 <[EMAIL PROTECTED]>

>  Hi,
> I need to create a command line utils that open a osg file and write the
> number of triangles of the geometry.
> There are a simple solution?
>
> Thanks
>
> sdb
>
> ------------------------------
> Scopri la community di Io fotografo e video
> Il nuovo 
> corso<http://us.rd.yahoo.com/SIG=11ud6kror/**http%3A%2F%2Fwww.flickr.com%2Fgroups%2Fiofotografoevideo%2F>di
>  Gazzetta dello sport per diventare veri fotografi!
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to