Touché! :-)

Cheers,

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Thrall,
Bryan

Paul Martz wrote on Thursday, May 28, 2009 4:50 PM:
> You use a NodeVisitor to walk your scene graph and look for Geodes, 
> then iterate over the Drawables that are attached to the Geodes, using 
> dynamic_cast to access the Drawable as a Geometry.

Even better, I notice osg::Drawable has asGeometry(), which is cheaper than
dynamic_cast<> :)

--
Bryan Thrall
FlightSafety International
[email protected]

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to