Kiff,

The code you  downloaded needs to be compiled and run as a separate
executable to convert the database. Then you can use the database in osg as
a paged database.

Read the code to see where the range and center are being set. It's pretty
straight forward.

Brian

[EMAIL PROTECTED] wrote: -----

To: <[email protected]>
From: Kiff Loh <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 06/28/2008 12:21AM
Subject: [osg-users] Paging Openflight





Hi,

I read some very interesting posts by Robert and Brian Hill on paging an
openflight database.

Robert says, '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.'

How do I 'take the database and convert to an OSG native format and insert
PagedLOD'?

I actually managed to download ConvertPagedLOD.cpp from another post by
Brian R Hill. Do I compile it in OSG environment, and then try to '
convert the osg::ProxyNodes to osg::PagedLODs'? How do I set the osg::
 PagedLODs center and radius?



Thanks for the help.

Kiff




Enrich your blog with Windows Live Writer.
Windows Live Writer
_______________________________________________
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