20,741
edits
Line 222: | Line 222: | ||
=== Multiple Viewers === | === Multiple Viewers === | ||
If you don't want the main rendering loop to wait for the rendering of all these extra views then | |||
you'll need to use a separate viewer(or compositeviewer) with it's own | |||
threading. You'll need to manage your own frame loops in the secondary | |||
viewer. | |||
The only reason to copy data is if it the data is being modified by the | |||
different threads. <ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg78132.html</ref> | |||
You could easily just create an entirely separate viewer for doing the | You could easily just create an entirely separate viewer for doing the | ||
screenshots. You can have this run in the background with no need to | screenshots. You can have this run in the background with no need to |