Submission sent.
Cheers,
Wojtek

--------------------------------------------------
From: "Robert Osfield" <robert.osfi...@gmail.com>
Sent: Friday, October 01, 2010 3:29 PM
To: "OpenSceneGraph Users" <osg-users@lists.openscenegraph.org>
Subject: Re: [osg-users] to registerPagedLODs or not ?

Hi Wojtek,

On Fri, Oct 1, 2010 at 2:07 PM, Wojciech Lewandowski
<lewandow...@ai.com.pl> wrote:
I don't need to test it. We already did it. It works and thats the fix we
would propose as our submission. We tested if parent is registerd by
checking if its present in active & inactive PagedLOD lists

If it works then just post the modified file osg-submissions and I'll
get on an review it.

We did not test looking up for PagedLODs in parent node path, though. I am
not sure I understand why is it neccessary... Is it possbile that the
PagedLOD needing registration will be few levels above ? I think the
registration is only needed for top PageLODs loaded from user ReadNodeFile
calls. And these most top PageLODs will get registered when their first
child gets loaded.

You'd only need to go search the whole parental path if you had
preloaded external children of the PagedLOD's that are above the one
that is currently being added to.  I think you are correct in believe
that doing this would be overkill, if the PagedLOD does become active
w.r.t loading new children then it'll automatically get registered
with the changes that you've already applied, and this should be
sufficient.

Cheers,
Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to