Paul,

Check the archives 12/19/07 - Paged Terrain Question, there were a couple
of posts addressing this. The other piece of the puzzle is using the
osgDB::DatabasePager to register the PagedLODs when you initially load the
master file.

osgDB::DatabasePager * databasePager =
osgDB::Registry::instance()->getOrCreateDatabasePager();
if (databasePager)
{
 databasePager->registerPagedLODs(master_node);
}

Brian
[EMAIL PROTECTED] wrote: -----


To: [EMAIL PROTECTED], "OpenSceneGraph Users"
<[email protected]>
From: "Robert Osfield" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 01/09/2008 04:07AM
Subject: Re: [osg-users] Terrain Paging: Knowing Which Tiles are loaded

Hi Paul,

The OSG natively supports database paging, and its automatically set
up in osgViewer::Viewer/CompositeViewer when your scene contains
osg::PagedLOD nodes - it's PagedLOD nodes that provide the information
about the what to page in.

The OpenFlight loaders doesn't know about paging itself, the format
itself doesn't support as far as I'm aware.  If you wish to use it for
paging then you'll need to take the database and convert to an OSG
native format and insert PagedLOD nodes where appropriate.

Robert.

On Jan 8, 2008 11:26 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi, Im currently working with paged databases and need to
> further my knowlwdge on the way OSG handles terrain paging.
>
> I have a 30G OpenFlight database with LOD
>
> osgviewer handles paging nativelely yes? Or do I have to
> manually give osg the name and number of tiles I'm using
> from my database? or can I just feed it master.flt ?
>
> I would also like to know which tiles are being loaded in
> and which tiles are being loaded out - Does anyone know
> which are the releveant classes handling this?
>
> Best Regards
> _______________________________________________
> 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--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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

Reply via email to