|
You can assign a callback to the Registry to be notified when a read
completes. Alternatively, you could derive a class from
OpenThreads::Thread to do the read in a thread, and you'll know it's
complete when isRunning() returns false. Neither of these will really help you with making a progress bar, though, which requires "percent complete" as an input. Paul Martz Loic Cayou wrote: Hi all, On my program, I use setSceneData(...) to load an heavy osg model (more than 10mo).I would like to know if I could be alerted when OSG have finished loading a model. My application is blocked while this time, and I want to make a progressBar to indicate loading progress. Thank you! Regards, Loic. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16912#16912 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org |
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

