Hi,

On 6/13/07, Johansson Mikael <[EMAIL PROTECTED]> wrote:

Robert, thanks for the quick reply!
However, that brings me to the next question... The DatabasePager is using
addChild to add loaded nodes to the PagedLOD. Let's say that my initial
(unloaded) structure is:

First child is "referencing" to "level_1.ive"
Second child is "referencing" to "level_2.ive"
Third child is "referencing" to "level_3.ive"

When all request has been made and the DatabasePager has fully loaded and
added
the children of the PagedLOD, it is then possible that the first child of
the
PagedLOD is actually the "level_2.ive"-node???


I think it's possible.
In my app to prevent this situation I've made a custom PagedLOD and a
ReadFileCallback which add to the loaded node its path on its name. Then my
PagedLOD reorders the children if needed.

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

Reply via email to