Terry Welsh wrote:
The only thing I can think of now is to subclass PagedLOD and try to
give them knowledge of when their parents and/or children have loaded
their tiles.  I can't think of a very elegant way to do this, though,
and it would probably have problems with DatabasePager.

Subclassing PagedLOD will be very difficult, I expect. I think most of DatabasePager is only aware of the parent PagedLOD class. I think the only way to do this would be to extend the base PagedLOD class to have additional virtual-method hooks that can be overridden in a derived class or as callbacks on particular instance.

It sounds like your design would have all your PagedLOD instances behaving consistently, so configuring things to support this behaviour in a derived class is probably the way to do it.

I can advise a little on this, but I'm in a non-OSG development phase right now, and my OSG tree is not at all current to CVS and I'm not checking the list very often.

--
     Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/
               Highway Design: http://highway-design.net/

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

Reply via email to