Alberto Luaces wrote:
> Hi Loic,
> 
> you can try to follow this tutorial:
> 
> http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/LoadingProgress
> 
> Regards,
> 
> Alberto
> 

Hi Alberto,
I think it could be a solution, but the creator use an old version of osg, and 
I have so many problem to use it...  :( (Especially for osgDB class).

[quote=Paul Martz]
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. 
[/quote]
Hi Paul Martz,
I think I will try your solution, maybe I will derive a class from OpenThread.

But, i don't understand when you say that I can assign a callBack to the 
Registry  [Question] 

Thanks in advance,
regards.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16919#16919





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to