Hi Chris, Thank you so much for your help. i was just thinking about writing my own pagedLOD mechanism. it works really nice now.
thanks again :) On Mon, Feb 15, 2010 at 6:09 PM, Chris 'Xenon' Hanson <xe...@alphapixel.com>wrote: > On 2/15/2010 6:25 AM, Ufuk wrote: > > do you think i miss something? should i use PagedLOD for my purpose or i > > should implement something different??* > > PagedLOD should do the trick for you. > > Often, you will put in the first LOD as already-leaded, and leave its > filename blank. > Then, add the higher LODs without using addChild -- you don't want to add a > Node, you just > want to fill out the filename and ranges in the PagedLOD perRangeData. The > DatabasePager > will load them for you when needed. > > If you want the first LOD loaded for you, do not create and add a blank > Node as you are > doing here. Just add a perRangeData to the PagedLOD node, and start the > main OSG program > loop running. Make sure you are using something derived from osgViewer and > that you have > all the DatabasePager bits hooked up properly or background loading won't > work. > > -- > 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 > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Ufuk
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org