Robert Osfield wrote on Wednesday, November 29, 2006 2:18 PM: > Hi Bryan, > > The BoundingSphereCallback is just a general purpose node callback, so > doesn't know about the exception that Geode has a bounding box cached. > This could probably be just removed and the bounding box computed on > the fly. Right not I can't recall the exact reasoning behind Geode > have a local cached bounding box, and am rather too swamped with work > to be able to look into it further right now. > > Robert.
No problem; I was planning on submitting a patch myself, I'm just not sure what the best way would be. I intended my email more as a call out for suggestions than a request for a fix ;) > On 11/29/06, Thrall, Bryan <[EMAIL PROTECTED]> wrote: >> >> When you attach a BoundingSphereCallback to a Geode, there is no way >> that I can see to update the Geode's bounding box (which is returned >> by getBoundingBox() and is normally updated by computeBound()). >> >> This seems obviously wrong, but I'm not sure what the best way to >> fix it would be. Does Geode even need this bounding box (only >> osgSim::SphereSegment seems to use it)? -- Bryan Thrall FlightSafety International [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
