Jump to content

Map offset in 3x 4K resolution @center/right Monitor


EmoJack

Recommended Posts

I just switched to a triple screen setup with 4K Monitors.

Setting up everything with the options.lua and monitor.lua worked fine.

 

Only one issue: when using the center monitor fur UI, the map in F10 and Mission Editor is shifted to the left. Right side is a blank part and every klick is offset (only on the map, not on sidebars, menues or anything else). I would guess the GUI is positioned 3840 pixels from the left side, the map only 3000 pixels.

If i switch the UI to the right side the offset is doubled, if i move it to the left monitor (so coordinates 0/0) everything is fine. changing monitor resolutions and options.lua to 1080p also fixes it.

 

Is it possible that there is some limit to offset the map?

Any other 4K triple users having the same issue?

 

Thx in advance for any help

 

Attachment: options.lua and monitor.lua currently used + screenshot of the mission editor when running dcs with those configs.

DCS_1.jpg

3Cameras.lua options.lua

Link to comment
Share on other sites

  • 1 year later...

Hi,
I have the same issue with my triple monitor setup. 

nullMy center screen is 5120*1440 and I have additional 800*1280 on each side for the MFDs.

With below monitor configuration, the shift is 266 pixels no matter if I use only the center monitor with 5120px or the intendend setup with total width of 6720 px.

_  = function(p) return p; end;
name = _('TripleMonitor');
Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center'
Viewports =
{
     Center =
     {
          x = 800;
          y = 0;
          width = screen.width - 1600;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = (screen.width - 1600) / screen.height;
     }
}

LEFT_MFCD =
{
     x = 0;
     y = 440;
     width = 800;
     height = 800;
}

RIGHT_MFCD =
{
     x = screen.width - 800;
     y = 440;
     width = 800;
     height = 800;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

 

image.png


Edited by cellosaw
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...