Hi Wang Rui,

On Wed, Dec 2, 2009 at 7:41 AM, Wang Rui <[email protected]> wrote:
> So I should use a CullCallback to reimplement the PagedLOD::traverse()
> functionality, in order to request high level children. And I'd better
> use addCullCallback() to avoid overwriting of existing cull callbacks.
> Please correct me if there's any mistakes.

Most of the time only one cull callback will be attached to nodes so
it's safe just to use setCullCallback, especially as we're talking
about an example that loads a database only composed on nodes and
cullbacks that the core OSG will be adding.

> I think what you suggest is reasonable. Thank you. I'll better cancel
> my submission this time and try to find a better way ASAP. :)

Cancel, Cancel, Abort, Abort, Aircraft in spinning uncontrollably into
the deck! Agghg.. ;-)

Try the cull callback and see how you're getting on, even without
using a cull callback there is likely other routes we can use to
achieve what you are looking for.

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

Reply via email to