Re: [osg-users] ComputeBoundsVisitor problem

2009-02-11 Thread Simon Hammett
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 Engvall Åsa : >> Hi osg-users! >> >> I want to use a ComputeBounds

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
ComputeBoundsVisitor only computes bounds for drawables. ie geometry. 2009/2/11 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 t

[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. vo