Hi Jason,

On Fri, Dec 31, 2010 at 7:32 PM, Jason Beverage <[email protected]> wrote:
> I've thought about the issue a little more and I think that it might
> be more appropriate for the osg::LOD class to check to see if one of
> it's children has an invalid bounds (like the case of an AutoTransform
> not being traversed by the cull visitor yet) and always traverse it
> regardless of their range.  Basically we need a way to force the
> AutoTransform/Text objects to be rendered at least once so they can
> get their bounds in sync correctly.
>
> What do you think?

I think it's an awkward issue ;-)

Having an LOD not behave like an LOD for one frame is just going to
cause other problems.

I don't quite understand your original statement:
"the LOD doesn't allow the traversal b/c the Node doesn't have a valid
bounding sphere".

I have just checked the LOD::traverse(..) method and it doesn't check
the children's bounding sphere's, so it shouldn't matter whether a
child has a valid bounding sphere or not.

Is it that the LOD itself doesn't yet have a valid bounding sphere?
If so why not set the center and radius manually?

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

Reply via email to