[osg-users] Threading with OSG

Adrian Egli 3dhelp at gmail.com
Thu Oct 25 10:38:06 PDT 2007


Hi,

there is the openThreads lib included into the osg core. OpenThreads::Thread

class MyThread : public OpenThreads::Thread {

public:


  virtual void run() {  .... your code ... }

}

2007/10/25, Daniel Moos <danimoos at gmx.ch>:
>
> Hi everybody
>
> I have a complex model. From this model i calculate the silhouette edges.
> This
> calculation need some seconds.
> If i calculate this the view isn't updated.
>
> How can i create a thread for this calculation? Or how can I show a
> message on
> a osgText::Text before calculating the edges?
>
> Thanks for your help!
> Have a nice evening!
> Daniel
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071025/7aefd21f/attachment-0003.htm>


More information about the osg-users mailing list