..but I could be reading it wrong. I ask because I'm debugging such as setup and it only works consistently in SingleThreaded mode. I've read all the threads I can find on runtime add/remove of views but didn't get any satisfaction yet. Thanks for the insights.
Glenn Waldron / @glennwaldron
Robert Osfield
unread,
May 1, 2012, 5:11:41 AM5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
Hi Glenn,
If all your views share the same graphics context then it's only
possible to single thread the draw dispatch. With this usage you'll
be able to use DrawThreadPerContext which will allow the update and
cull traversals to overlap the previous frames draw traversal, but
overlap will only extend from the dispatch of the last dynamic object
in the draw traversal being dispatched. If you have a large static
scene then the overlap can be the whole frame, if you have lots of
StateSet and Geometry with a DataVariance of DYNAMIC then the scope
for threading is reduced, and at worst case will essentially be
serialized and equivilant to SingleThreaded.