Thanks Robert. By "external file reference" you mean a proxyNode correct?
Robert Osfield wrote:
HI Brett,
What I have done VirtualPlanetBuilder is to have a quad tree scene
graph structure like:
Group
PagedLOD
child 0 -> local tile geometry at low resolution
child 1 -> external file reference
PagedLOD
child 0 -> local tile geometry at low resolution
child 1 -> external file reference
PagedLOD
child 0 -> local tile geometry at low resolution
child 1 -> external file reference
PagedLOD
child 0 -> local tile geometry at low resolution
child 1 -> external file reference
Each externals file reference is .ive file that contains
a Group at the root and four children in the same
structure as above.
The nice thing about this structure is that there are always tiles
available as fallback so
there is never any holes in your terrain while you are waiting of the
high res tiles to page in.
Robert.
On Mon, May 12, 2008 at 11:58 PM, Brett Wiesner <[EMAIL PROTECTED]> wrote:
Hi,
I have a set of terrain files that represent LODs for a terrain that I'd
like to have OSG load and page. It's a quad tree where the first tile is the
low res LOD 0. The next LOD is four tiles of medium resolution and the LOD
after is 16 tiles of high resolution terrain.
My question is, how do I construct the scenegraph? Should I just put each
tile under a osg::PagedLOD node and put all the pagedLOD nodes under a group
node? Or should preserve the hierarchy so that the lowest level PagedLOD
node has the the pagedLOD nodes of its children under it, and so on.
Thanks,
Brett
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org