Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Maxim Gammer
ok. Thank you Robert! 2009/12/14 Robert Osfield > Hi Maxim, > > On Mon, Dec 14, 2009 at 11:55 AM, Maxim Gammer > wrote: > > a little question. Will PagedLOD automaticaly unload children if I don't > use > > DatabasePager? > > PagedLOD doesn't nothing without DatabasePager, it principally a > p

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Robert Osfield
Hi Maxim, On Mon, Dec 14, 2009 at 11:55 AM, Maxim Gammer wrote: > a little question. Will PagedLOD automaticaly unload children if I don't use > DatabasePager? PagedLOD doesn't nothing without DatabasePager, it principally a passing data object. It's DatabasePager that does practically everythi

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Maxim Gammer
Thank you Robert, a little question. Will PagedLOD automaticaly unload children if I don't use DatabasePager? Maxim. 2009/12/14 Robert Osfield > Hi Maxim, > > I'm confused why you think that the memory isn't getting freed. The > OSG will be freeing the memory automatically when the viewer/dat

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Robert Osfield
Hi Maxim, I'm confused why you think that the memory isn't getting freed. The OSG will be freeing the memory automatically when the viewer/database goes out scope / and at by the DatabasePager at runtime when children go out of range and get expired. Please note that expiry happens on demand (de

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-13 Thread Vincent Bourdier
Hi Maxim Have a look on http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-December/036286.html Regards, Vincent Maxim Gammer a écrit : Hi everybody. I need to figure out the PagedLOD technology... I've tried the following example, everything worked fine... os

[osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-12 Thread Maxim Gammer
Hi everybody. I need to figure out the PagedLOD technology... I've tried the following example, everything worked fine... osg::ref_ptr plod = new osg::PagedLOD(); plod->setName("plod for "); plod->setRangeMode(osg::LOD::DISTANCE_FROM_EYE_POINT); std::string Filename1 = "/home/maximum2000/LA