Re: [osg-users] pagedLOD question

2008-05-15 Thread Brett Wiesner
Yes, that should do work. If you already have the LowRes LODs loaded, you could also do: osg::pagedLOD* pagedLod0 = new osg::pagedLOD; pagedLod0-addChild(pagedLod0LowResChild); pagedLod0-setFilename(1, pagedLod3Child0Filename); group-addChild(pagedLod0); Thanks Bryan. That method

Re: [osg-users] pagedLOD question

2008-05-15 Thread Thrall, Bryan
Brett Wiesner wrote on Thursday, May 15, 2008 7:57 AM: My next question, is how does the pagedLOD node know when page in/ page out its child node? In my code I was only setting filenames, not min, max ranges... osg::pagedLOD* pagedLod0 = new osg::pagedLOD; pagedLod0-setFilename(0,

Re: [osg-users] pagedLOD question

2008-05-14 Thread Brett Wiesner
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 -

Re: [osg-users] pagedLOD question

2008-05-14 Thread Robert Osfield
On Wed, May 14, 2008 at 1:54 PM, Brett Wiesner [EMAIL PROTECTED] wrote: Thanks Robert. By external file reference you mean a proxyNode correct? No, I mean the files referenced from the PagedLOD ___ osg-users mailing list

Re: [osg-users] pagedLOD question

2008-05-14 Thread Brett Wiesner
Brett, PagedLod is similar to ProxyNode in that you can set the filenames for the child nodes and they will be loaded as needed, but it has added support for unloading them, too. So how should someone construct this scenegraph: Group PagedLOD child 0 - local tile geometry

Re: [osg-users] pagedLOD question

2008-05-14 Thread Thrall, Bryan
Brett Wiesner wrote on Wednesday, May 14, 2008 4:02 PM: So how should someone construct this scenegraph: Group PagedLOD child 0 - local tile geometry at low resolution child 1 - external file reference PagedLOD child 0 - local tile geometry at low

Re: [osg-users] pagedLOD question

2008-05-13 Thread Robert Osfield
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

[osg-users] pagedLOD question

2008-05-12 Thread Brett Wiesner
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