Re: [osg-users] Qt + non-continuous draw + pagedLOD: Random loss of detail??

2008-08-04 Thread Robert Osfield
Thanks for the additions Maciej, the changes have missed the OpenSceneGraph-2.6 branch/feature freeze so will have to be merged once 2.6 is out. On Mon, Aug 4, 2008 at 1:51 PM, Maciej Krol [EMAIL PROTECTED] wrote: Hi all, I have implement frame based expiration of PagedLOD children. I will

Re: [osg-users] Qt + non-continuous draw + pagedLOD: Random loss of detail??

2008-08-03 Thread Robert Osfield
Hi John, As others have pointed out, what you are seeing is the removal of expired subgraphs. The DatabasePager is built around continuous update of the scene graph - both for loading of new subgraphs, compiling of subgraphs, merging of subgraphs and removal of expired subgraphs. As such

Re: [osg-users] Qt + non-continuous draw + pagedLOD: Random loss of detail??

2008-08-02 Thread Maciej Krol
Hi all, I have the same problem in our digital content creation tool. IMHO the plausible solution would be to expire the nodes after certain number of frames rather than period of time. This would require changes in the database pager. It shall be possible to select expiration mode - time based

Re: [osg-users] Qt + non-continuous draw + pagedLOD: Random loss of detail??

2008-07-31 Thread Jakob Ruhe
Hi John! I also have these kind of problems when I use lazy rendering which is the way I want it to be done in my application. These methods may help you: osgDB::setExpiryDelay PagedLOD::setNumChildrenThatCannotBeExpired You can also override these virtual methods to fine tune what you want to

Re: [osg-users] Qt + non-continuous draw + pagedLOD: Random loss of detail??

2008-07-30 Thread Glenn Waldron
John, I have run into the same issue. PagedLOD children expire after a certain period of time (default is something like 5 seconds?) If a PagedLOD child has not been visited in the last N seconds, the pager will discard it and revert to a lower LOD. OSG updates the time-last-visited during the