Hi
I found that if the total number of nodes is noted during the build
stage, the writing of nodes is a reasonable indicator of progress. The
writing appears to take about 90% of the time so most of the time can be
progressed.
To refine the progress a little using sqrt(number of nodes written /
total number of nodes to write) was more linear.
Regards
Alan Harris
Weitz, Andrew C. wrote:
Hi Robert,
That is actually the path I plan to take. After the destination graph
is computed, I traverse the quad map (like you do in
_buildDestination()) to determine the processing steps. Now the hard
part will be adding progress info to each step and estimating the time
each step will take. I'm not sure the latter is even possible.
Andrew
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, April 13, 2007 3:16 AM
To: osg users
Subject: Re: [osg-users] osgDEM or VPB Progress Info
Hi Andrew,
I haven't tried an progress reporting for osgdem/VPB, one could
probably add a progress meter of some kind to vpb::DataSet, this would
need to be wired up in the higher level of the DataSet methods. What
will complicate things is that there are multiple levels in each
build, and each level has a different number of tiles in it, typically
more, but sometime less as you descend (such as for high res inserts).
This would mean you need to set up the progress once all destination
graph is computed.
Robert.
On 4/12/07, Weitz, Andrew C. <[EMAIL PROTECTED]> wrote:
Hi,
I was wondering if anyone has attempted to add progress information to
either osgDEM or VPB. I'd like to wrap VPB in a GUI and show progress
bars
while it's chugging away. I'd also like to make a time estimate at
the
beginning of processing and update the estimate during processing.
Has anyone tried this before? It seems that I'll have to modify much
of the
VPB::DataSet source to get this working. Even so, I'm not what level
of
progress accuracy I'll be able to maintain.
Andrew
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/