J-S

Thanks for the information.

  I will do the Luke Skywalker thing and "Use the Source" or was that force oh 
well.

Bruce

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jean-Sébastien 
Guay
Sent: Friday, September 11, 2009 12:39 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] 3D model database

Hi Jason, Bruce,

> You should be able to get these numbers by iterating over the primitive 
> sets in each drawable.  You'll have to count differently depending on 
> primitive type and primitive set type, but it's not that difficult 
> (there may already be a visitor in OSG that does this, I'm not sure).

Yep, PrimitiveFunctor. Search the OSG source code for uses, it's used in 
a few places including the LineSegmentIntersector / IntersectionVisitor 
when it tries to intersect to a triangle mesh.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this 
 
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to