On 5/10/07, Bradford, Chase <[EMAIL PROTECTED]> wrote:
Have either of you found a good way of writing a visitor for computing the
bounding box that works on PagedLODs without children paged in?  The only
mildly acceptable method I've found is forcing a read on the first child
then continuing traversal, but that's slow.  I can also use the center and
radius information when its available, but then I get bounding cubes.

You can't know what isn't there, you have to load the subgraph if you
want its dimensions.

The only other way might be to use UserData to store a precompute bounding box.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to