On Thu, May 22, 2008 at 12:09 PM, Robert Osfield <[EMAIL PROTECTED]>
wrote:

>
> Another change to the DatabasePager was to store the DatabaseRequest
> objects that are used internally by the pager directly on the
> ProxyNode/PagedLOD nodes as well as internally in the various queues
> in the DatabasePager.  In the ProxyNode/PagedLOD classes you'll now
> see getDatabaseRequest method that returns an
> osg::ref_ptr<osg::Referenced>&.  This tweak makes it much quicker for
> the cull traversal to update the DatabaseRequests according to the
> needs for the new
> frame, and avoids the need to costly mutex locks and linear searches
> that was previously being done in the DatabasePager::requestNodeFile
> method.
>

Hum... Should it be possible to make the PagedLOD getDatabaseRequest method
virtual ? :)

-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to