On 12/6/2011 2:15 PM, 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?

  This is not recommended.

  What are you trying to do simultaneously with the Viewer::frame() operation?

  Could you launch a new thread and do the secondary operation in THAT thread 
so that
Viewer can keep running in its original thread like it wants to?

-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected] 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to