Hi,
On 06/12/2011 23:15, bart gallet wrote:
thanks Chris
I almost don't dare to ask, but I'll do it anyways, so then I will
have come to a full circle :)
I'd like to run a viewer for rendering to an FBO in a separate
thread, so that it is in the background since it's not for
displaying. Will I get into trouble doing this?
I think you're at the stage where you must just try and see. Make sure
the viewer is created (that creates the GL context) and frame() (that
calls GL) is called from the same thread. We do this in one of our apps
and it works fine, but we also force the viewer to SingleThreaded mode,
so not sure if that's a requirement.
rgds
jp
Thank you!
Cheers, bart
------------------ Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44250#44250
_______________________________________________ osg-users mailing
list [email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org