<div dir="ltr"><div><div><div><div>Hi Soulaymen,<br><br></div>By default the osgViewer::Viewer calls View::setUpViewAcrossAllScreens() as a fallback if no windows have been assigned to viewer when viewer.realize() or viewer.run() is called.  The setUpViewAcrossAllScreen() detects how many screens you have on your system and then opens up a window on each one, if there are more than one then it assumes that screen 0 is to the left, screen 1 is directly to it's right and so on for all your screens.  On you system it looks like you have screen 1 to the left of screen 0.<br><br></div>I think there may be a way to configure Windows to use a different ordering of screens, so you could look at the display/driver settings for a solution.<br><br></div>The other route would be to explicitly tell the viewer what display configuration you want to use.  There are various ways you can do this, rather than go through all the possible combinations could you give us an idea of what you'd like to see as your default setup?<br><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 April 2016 at 19:32, Soulaymen Chouri <span dir="ltr"><<a href="mailto:akaisora@tuta.io" target="_blank">akaisora@tuta.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am still new around here, I've got the book "OpenSceneGraph 3.0 Beginner's Guide" and learning step by step. But I have dual monitors and running any osg::Viewer example I got fullscreen window on both monitors, and a splitted view as demonstrated in the attached screenshot.<br>
<br>
Bascially it swaps the two monitors, the left render should have been on the right and vice versa.<br>
<br>
Any idea how to fix it? Except using only one monitor :)<br>
<br>
...<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Soulaymen<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=67010#67010" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=67010#67010</a><br>
<br>
<br>
<br>
<br>
Attachments:<br>
<a href="http://forum.openscenegraph.org//files/osg_209.png" rel="noreferrer" target="_blank">http://forum.openscenegraph.org//files/osg_209.png</a><br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br></div>