On 2/16/2010 8:35 AM, Adrian Lindberg wrote:
> I can't seem to get a hang of this. Still new to OSG.
> So what I gather I shouldn't use addChild but simply setup setFileName() and 
> setRange()? Then the PagedLOD will take care of the rest?

  Yes. Make sure the file for the child exists on disk, then fill the names and 
ranges.

> Also, what do I need to setup for the DatabasePager that isn't supplied by 
> osgViewer? If I sub-class which parts do I want to replace?

  I think basic osgViewer has all the magic you need. But if you go rolling 
your own
viewer, you need to make sure to replicate what it does.

> Is there any tutorial for this? The PagedLOD example doesn't do any of it 
> with a viewer but simply preps the data.

  The PagedLOD example is not a great learning tool, it is for converting an 
LOD-based
database to PagedLOD. Which, now that I think of it, might be useful for you.


-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to