Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Adrian Lindberg
I see, so the DatabasePager works even if I don't subclass osgViewer, I was getting worried there. Well seems like my bounding volumes are misplaced and that's why I'm not getting anything on the screen... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic

Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Alberto Luaces
Hi, "Adrian Lindberg" writes: > 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? > > Also, what do I need to setup for the DatabasePager that isn't su

Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Robert Osfield
On Tue, Feb 16, 2010 at 3:54 PM, Chris 'Xenon' Hanson wrote: >> 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

Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Chris 'Xenon' Hanson
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, t

Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Adrian Lindberg
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? Also, what do I need to setup for the DatabasePager that isn't supplied by osgViewer? If I sub-class which

Re: [osg-users] PagedLOD usage??

2010-02-16 Thread Ufuk
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 wrote: > On 2/15/2010 6:25 AM, Ufuk wrote: > > do you think i miss something? should i use Paged

Re: [osg-users] PagedLOD usage??

2010-02-15 Thread Chris 'Xenon' Hanson
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 hig

[osg-users] PagedLOD usage??

2010-02-15 Thread Ufuk
Hi all, sorry, this question seems very odd but i could not solved the problem. i need simple paged lod mechanism and i can see that there is a class for this purpose in osg named osg::PagedLOD i have terrain pages with different resolutions. since there are many of them, i don't want to load all