[osg-users] ComputeBoundsVisitor problem

2009-02-11 Thread Engvall Åsa
Hi osg-users! I want to use a ComputeBoundsVisitor for finding the bounds of an object. The object belongs to the class GroundObject, which is derived from osg::Node. Please have a look at this short function. The visitor is probably not executed, and the resulting bounding box is not valid.

Re: [osg-users] ComputeBoundsVisitor problem

2009-02-11 Thread Simon Hammett
ComputeBoundsVisitor only computes bounds for drawables. ie geometry. 2009/2/11 Engvall Åsa asa.engv...@saabgroup.com: Hi osg-users! I want to use a ComputeBoundsVisitor for finding the bounds of an object. The object belongs to the class GroundObject, which is derived from osg::Node.

Re: [osg-users] ComputeBoundsVisitor problem

2009-02-11 Thread Engvall Åsa
-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] För Simon Hammett Skickat: den 11 februari 2009 12:51 Till: OpenSceneGraph Users Ämne: Re: [osg-users] ComputeBoundsVisitor problem ComputeBoundsVisitor only computes bounds for drawables. ie geometry. 2009/2/11

Re: [osg-users] ComputeBoundsVisitor problem

2009-02-11 Thread Simon Hammett
12:51 Till: OpenSceneGraph Users Ämne: Re: [osg-users] ComputeBoundsVisitor problem ComputeBoundsVisitor only computes bounds for drawables. ie geometry. 2009/2/11 Engvall Åsa asa.engv...@saabgroup.com: Hi osg-users! I want to use a ComputeBoundsVisitor for finding the bounds of an object