<div dir="ltr">So I should keep it out of the viewer then? I guess I'm still a little unclear on how to integrate the rest of the systems so they get updated every frame.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 30, 2015 at 7:50 PM, Tony Vasile <span dir="ltr"><<a href="mailto:minghia@gmail.com" target="_blank">minghia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sam<br>
<br>
You probably don't want all you networking code in the same thread as the viewer thread, especially if the networking code could block. You would be better off using Update Callbacks to modify the scene when something changes.<br>
<br>
<br>
Tony<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=64946#64946" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=64946#64946</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br></div>