Hi Martin,

I'm a bit confused by the thread, but as a general note you shouldn't
go attempting to use two separate Viewport per Camera.  The OSG fully
supports slave Camera that can share scene graphs and share the same
graphics context, so it's straight forward to implement and manage,
the osgViewer design has been specifically designed to make this type
of usage as simple as possible.

Robert.

2010/10/29 "Martin Großer" <[email protected]>:
> Hello all,
>
> I would like use two viewports in my application and one camera. Is this 
> possible? I think, the normal way is to define the viewport for a camera 
> like: camera->setViewport(...)
>
> Is the only way to define camera, copy the camera and set the viewports 
> separatly for every camera? The main problem is when I change the camera 
> settings, I have to copy the camera again.
>
> Cheers
>
> Martin
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to