[osg-users] Multi thread Rendering

65 views
Skip to first unread message

Vinoth Rajendran

unread,
Jan 19, 2017, 8:18:29 AM1/19/17
to osg-...@lists.openscenegraph.org
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-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Robert Osfield

unread,
Jan 19, 2017, 9:31:58 AM1/19/17
to OpenSceneGraph Users
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
Reply all
Reply to author
Forward
0 new messages