Hi Sanat,

I decided to take the approach that displays graphics in a window. I am able to 
get 2 windows. But right now, both monitors are displaying 2 windows. I am not 
able to separate window 1 to screen 1 and window 2 to screen 2 only.

This is not an OSG issue... You have probably set up your video card to "mirror" instead of "dual view". Check your control panel / video card config (I don't know what operating system you're using, or what video card) and make sure you can see different images on both monitors even for normal applications (like you can drag your e-mail program's window across to the second screen, or even overlapping both screens).

Once you've got that working, you can put the screen number in the traits structure so that each window appears on the screen you want it to initially. See osgViewer::View::setUpViewInWindow() for inspiration.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to