The process I use:

- copy master.flt to another directory (hopefully the file references
aren't absolute paths)
- use osgDB:readNodeFile to read the copied master.flt. This places
osg::ProxyNodes in place of the actual .flt reference files (because it
can't find the referenced files)
- write a custom NodeVisitor to convert the osg::ProxyNodes to
osg::PagedLODs
- at the same time I convert the referenced .flts to .ives and use their
bounds to set the osg::PagedLODs center and radius.
- save the master.flt as master.ive (or master.osg)

Brian

[EMAIL PROTECTED] wrote: -----


To: osg-users@lists.openscenegraph.org
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 12/19/2007 05:00PM
Subject: [osg-users] Paged Terrain Question

Hi, Im new to osg and I have an Openflight database, it has
a master.flt and would like to use osg to page it in rather
than loading all in memory at once . I'm not sure if
osgviewer is doing this already? or wether I should use
osgpagedLOD example to load in my database - if so how?

Also down the track I would like to know which tiles are
being loaded in and which tiles are being loaded out. Where
would I be able to find the relevant point in the source
code?

Thank you and Merry Xmas
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to