Hi Roman,

On Thu, Dec 11, 2008 at 1:31 PM, Roman Grigoriev <[EMAIL PROTECTED]> wrote:
> P.S. Could you please tell me in what situation I should use
> CompositeViewer?

Please search my previous explanations of CompositeViewer vs Viewer.

> Because as far as I got for opengl it's better to have one
> big window than two small windows?

It depends...  If you have one graphics card, a single window with two
viewports will be more efficient than two windows.  If you have two
graphics cards then use two windows with a single viewport on each.

osgViewer is written so that is very easy to move between using two
Camera's sharing a single GraphicsWIndow, or two Camera's each with
their own GrpahicsWindow.  The only thing you change is creation and
assigned on windows/viewports, everything else stays the same.
osgViewer will manage all the implementation details for you,
including threading.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to