>
> 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 probably wouldn't work for me. Let's say you're
trying to load a very large terrain. You wouldn't want to load all the
pieces as child nodes. You'd want to only load the lowest LODs then page in
higher and higher resolution LODs as needed. 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, pagedLod0LowResFilename);
pagedLod0->setFilename(1, pagedLod0Child0Filename);
group->addChild(pagedLod0);
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to