Hi Andrew,

You could try updating the progress in DataSet::_writeRow.

I forget how well it works, but I have some old code with:

unsigned int max = pow(2, _maxLevel+1) - 1;
unsigned int cur = pow(2, row[0]->_level) + row[0]->_tileY;

- Edgar

Weitz, Andrew C. 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/

Reply via email to