Re: [osg-users] Get monitor resolutions on extended desktops

2016-08-11 Thread Sebastian Schmidt
@roberto Thanks for explaining. So maybe i cannot blame osg for this. Under Ubuntu xrandr and Nvidia X Server Settings gives me also one screen with 3840x1200 (1920x1200 * 2). Connected two monitors, one via DVI and one via DP. Im not an expert with this internal display behaviours and the linu

Re: [osg-users] Get monitor resolutions on extended desktops

2016-08-10 Thread Robert Osfield
On 10 August 2016 at 14:30, Sebastian Schmidt wrote: > I tried WindowSystemInterface as i said, but while using two monitors with > extended desktop view i get only one screen with the streched resolution > instead of two separate. I didn't see that part of the thread, sadly the forum/mailing l

Re: [osg-users] Get monitor resolutions on extended desktops

2016-08-10 Thread Sebastian Schmidt
robertosfield wrote: > > The OSG's osg::GraphicsContext::WindowSystemInterface class is the > method the OSG uses to abstract away how to query what displays you > have and their resolution, > > Robert. > ___ > osg-users mailing list > > http://lists.

Re: [osg-users] Get monitor resolutions on extended desktops

2016-08-10 Thread Robert Osfield
On 10 August 2016 at 08:07, Sebastian Schmidt wrote: > > d_a_heitbrink wrote: >> if you are using windows you can use EnumDisplayMonitors, this will go >> through your list of physical displays attached to your computer. > > > Thanks. Is there a similar function for Linux ? The OSG's osg::Graphi

Re: [osg-users] Get monitor resolutions on extended desktops

2016-08-10 Thread Sebastian Schmidt
d_a_heitbrink wrote: > if you are using windows you can use EnumDisplayMonitors, this will go > through your list of physical displays attached to your computer. Thanks. Is there a similar function for Linux ? -- Read this topic online here: http://forum.openscenegraph.org/view

Re: [osg-users] Get monitor resolutions on extended desktops

2016-07-15 Thread David Heitbrink
if you are using windows you can use EnumDisplayMonitors, this will go through your list of physical displays attached to your computer. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68145#68145 ___

[osg-users] Get monitor resolutions on extended desktops

2016-07-08 Thread Sebastian Schmidt
Hi, I try to get the single screen resolution for each monitor of the user, regardless weither if he has enabled an extended desktop or other configs. I currently do this with: Code: osg::ref_ptr pWsi = osg::GraphicsContext::getWindowingSystemInterface(); pWsi->getScreenResolution(osg::Grap