Hi Neil,

On 2/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I'm running osg 1.0 and I am trying to create a camera after calling the 
realize function on the viewer. I can create cameras before calling realize and 
they work fine, but once realize is called they don't seem to work. Can anyone 
tell me whether it is possible to create a camera after realize ?

I'm afraid osgProducer::Viewer or Producer is not geared up to
handling changing of the number of cameras after realize() is called
as the realize sets up threading barriers with a fixed number of
threads joining them.

osgViewer::Viewer in SVN does allow you to change the number of
cameras at runtime, and after realize is called virtual of the ability
to stop threading, reconfigure and start threading again with barriers
etc set up for the number of cameras/graphics windows being used.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to