Hi Philip, I will have a look into this, but can't do it immediately.
Could you send the whole modified file that you have so I can compare against. Robert. On 1/12/07, Philip Lowman <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Philip Lowman wrote: > Robert Osfield wrote: >> The way I build paged database is as a quad tree, I wouldn't recommend >> having a flat layout of PagedLOD's. >> >> I'd also recommend keeping the PagedLOD tiles small, well under the MB >> size. This makes the paging in of tiles from disk and to graphics >> hardware much more fine grained - resulting in smoother frame rates. >> >> I'd suspect its the layout of your database that is causing the >> problems rather than the DatabasePager. > > Although I agree that my present layout sucks (and I am planning on > moving to a quad tree layout with smaller tile sizes), I still think > that the database pager should be calling removeExpiredChildren() on the > list of tiles that are outside of the paging radius. Why call it only > on tiles that are within the plod range but not on those that are > clearly outside of the plod range? Robert, et. al., Can someone on this list confirm that the _activePagedLODList is indeed the list of PagedLOD nodes that are completely outside of their PagedLOD ranges (by moving the eyepoint very far away)? This can be verified by uncommenting this line (around line 774) in DatabasePager.cpp. //osg::notify(osg::NOTICE)<<"_activePagedLODList.size()="<<_activePagedLODList.size()<<"\t_inactivePagedLODList.size()="<<_inactivePagedLODList.size()<<std::endl; If this can be confirmed then there is indeed a bug in DatabasePager.cpp. If not, then the implementation is correct and I'll have to try to figure out why my _activePagedLODList and _inactivePagedLODList are backwards. - -- Philip Lowman Simulation Development Engineer, Modeling and Simulation Technology General Dynamics Land Systems http://www.gdls.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFp8XVe0tOktX6RKkRAobTAJ9S7oCJN4vY5NGXzNE4HKE0YJlsLwCdFD5t +I+zRwbm74yqBHT7ceiKFoE= =pGL2 -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/