Thanks Robert. That is exactly what I was looking for !

-Nick


On Fri, Mar 12, 2010 at 10:51 AM, Robert Osfield
<[email protected]>wrote:

> Hi Nick,
>
> On Fri, Mar 12, 2010 at 7:05 AM, Trajce (Nick) Nikolov
> <[email protected]> wrote:
> > is there a way to force the threading in osg (cull, update, draw) to use
> > different priority (let say RealTime)? My IG works fine but I thought I
> > might force it to even do better :)
>
>
> You can get all the threads of the viewer via :
>
> osgViewer::Viewer::Threads threads;
> viewer.getAllThreads(threads);
>
> Then set their priority as you wish.  via :
>
>  thread->setSchedulePriority(prirotiy);
>
> See include/OpenThreads/Thread + include/osgViewer/ViewerBase for details.
>
> Robert.
> _______________________________________________
> 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

Reply via email to