Hi Wojtek,

My intention in the revamp of DatabasePager was to make it unnecessary
to call registerPagedLODs, and have this done automatically on demand
i.e. when the PagedLOD is traversed and invokes a load for the first
time.

Do your own PagedLOD's contain external children prior to attaching to
the scene graph?

Robert.


2010/10/1 Wojciech Lewandowski <[email protected]>:
> Hi Robert,
>
> We have recently encountered a case of excessive memory use with a database
> which contained number of PagedLODs. The problem vanished when we called
> registerPagedLODs on Scene root. Obviously pagedLODs where not registered
> when model was loaded.  But this is quite surprising to me because I thought
> we don't have to call registerPagedLODs anymore in recent OSG releases.
>
> So my question is :
> What are current recommendations for registePagedLODs use ? Must we call it
> or not after loading a scene model ?
>
> Or in other words: is this a feature or a bug ? If thats a bug we may have a
> fix for it.  We have spent a lot of time on the issue and learned what is
> exactly going on under the hood so we may come up with other solution.
>
> Cheers,
> Wojtek Lewandowski
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to