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
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,
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 -
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
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
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
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
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
8 matches
Mail list logo