[osg-users] Multi thread Rendering
Robert Osfield
robert.osfield at gmail.com
Thu Jan 19 06:31:52 PST 2017
Hi Vinoth,
OpenGL doesn't support multi-threading within a single graphics
context, so you are constrained to doing the rendering for each
context in a single thread. The threading models that the OSG
provides reflect this, enabling threading of the update, event and
cull traversals in parallel with the draw thread. This is all
possible with a Qt based viewer, but different versions of Qt add
their own caveates/problems. If you care a about full screen
real-time performance then Qt probably isn't the best tool to use,
native osgViewer based viewer will work much better, but if you need
the 2D GUI elements that Qt provides then you'll need to jump through
the extra hoops that Qt throws into the mix.
Robert.
On 19 January 2017 at 13:19, Vinoth Rajendran
<vinothrajendran4pro at gmail.com> wrote:
> Hi,
>
> i am developing one application with terrain, Ocean and some entities.the terrain and some entities reducing the frame rate while rendering.in osg is it possible to create multi thread rendering using QT ? is there any sample code in osg Examples ?
> ...
>
> Thank you!
>
> Cheers,
> Vinoth
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70005#70005
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list