HI Akilan,

The .osga files are a distraction for this topic, it actually relates to any
file format that the OSG might load.

The OSG supports multi-threaded database paging using the
osgDB::DatabaePager could with osg::PagedLOD / osg::ProxyNode.  For you
purposes you'll want to use osg::PagedLOD, decorating each of your models
with a PagedLOD node with the lod ranges set so that they get loaded when
you are in range of them.  The OSG will do all the loaded, exprity of unsed
subgraphs for you.

Lots has been written about paging over the years so please go have a look
at the archives.

Robert.

On Fri, Apr 3, 2009 at 7:34 AM, Akilan <[email protected]> wrote:

> Hi,
>
>
> I have created virtual earth and wanted to load thousands of osga
> models(each 28MB) on it. I am loading all models in the begining itself and
> starting the viewer. But it keeps increase the RAM size. When the number of
> models increases still more, the application fails.
>
> I want to know how the loading can be done dynamically?
> ...
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=9694#9694
>
>
>
>
>
> _______________________________________________
> 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