[osg-users] Paged Terrain Question

Paul Martz pmartz at skew-matrix.com
Wed Dec 19 14:51:14 PST 2007

This is a good solution.

Perhaps a possible new feature for the existing OpenFlight importer would be
an Option to use PagedLOD nodes for external references (and not load the
external model), rather than ProxyNodes (and loading the model).

> 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
> -----osg-users-bounces at lists.openscenegraph.org wrote: -----
> To: osg-users at lists.openscenegraph.org
> From: "paul.tanja at internode.on.net" 
> <paul.tanja at internode.on.net> Sent by: 
> osg-users-bounces at lists.openscenegraph.org
> 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
> --------------------------------------------------------
> 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce

More information about the osg-users mailing list