Re: [osg-users] how to force databasepager before drawing

2009-03-19 Thread Robert Osfield
HI Fabien,

See the osgautocapture for example of how to do this.

Robert.

On Wed, Mar 18, 2009 at 5:34 PM, Fabien Dachicourt  wrote:

> Hi all,
> To make a snapshot i would need to wait for all pagedlod loading before
> drawing,
> The databasepager getRequestsInProgress() works well during real time
> rendering, and returns false when everything is loaded, but how could i wait
> for all pagedlod loading without drawing ?
>
> I tried an update/cull loop, but it sometimes locks with remaining file
> requests (FileRequestListSize > 0).
>
> Is there anything to do to force the databasepager to handle all requests
> before drawing ?
>
> Thanks for any help
> Fabien
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] how to force databasepager before drawing

2009-03-18 Thread Fabien Dachicourt

Hi all,
To make a snapshot i would need to wait for all pagedlod loading before 
drawing,
The databasepager getRequestsInProgress() works well during real time 
rendering, and returns false when everything is loaded, but how could i 
wait for all pagedlod loading without drawing ?


I tried an update/cull loop, but it sometimes locks with remaining file 
requests (FileRequestListSize > 0).


Is there anything to do to force the databasepager to handle all 
requests before drawing ?


Thanks for any help
Fabien


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org