Hi, Robert,
All right, I got the run-time creation and deletion of cameras to
work. Thanks. Time to bring my application to the "next level"! I will
look into in-scene cameras as well. There seem to be a million
possibilities...
Yefei
>
> HI Yefei,
>
> osgViewer is much more flexible than osgProducer at handling adding
> and removal of cameras, simple call viewer.stopThreading(), modify the
> viewer, call viewer.setUpRenderingSupport(), then restart the
> threading with viewer.startThreading().
>
> Adding Camera's to the scene graph is another option, there are
> advantages and disadvantages of this. If the effect is part of the
> scene then I'd say but the Camera in the scene graph, if the effect is
> part of the viewer then put it in the viewer. Note you now have
> CompositeViewer for handling multiple views on to one or more scene
> graphs, see the osghud example in SVN.
>
> Robert.
>
_______________________________________________
osg-users mailing list
[EMAIL PROTECTED]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/