.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old December 23rd, 2019, 04:16 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,991
Thanks: 487
Thanked 1,926 Times in 1,253 Posts
Mobhack is on a distinguished road
Default Re: Using ultrawide screen monitor 3440x1440

The other thing about the VFX video driver is that it is very picky about the pixel count (width or height) being divisible by - its been a long time since I dug into it - 2 or 4 pixels, I think the latter.

I recollect that I had to write special recognition code for the standard el-cheapo 15 inch laptop screens that are out there in the millions - 1378x780 or similar. My own Dell laptop was one of these, which helped the debug. The width had a 2 pixels remainder if a division by 4 was done. The code I put in there therefore shaves off 2 pixels from the width the standard Windows environment call gives, so the VFX driver will create a screen rather than abort with the usual DirectX error when that value-2 for desktop width is passed to it. It leaves a just noticeable margin at the edges where the desktop backround shows through.

The video card hardware also makes a difference - the cheap second hand refurbished Dell I3 desktop I have at the moment (99 quid from the local computer shop, + extra 4 MB of RAM +25 quid) has an integrated Intel graphics that seems to return a smaller area than the desktop - it leaves about a 2 pixel margin on each side. I may play with the Windows setup, as I think you can tell windows what margin size windows have in pixels somewhere deep in the preferences code, and that may have some bearing on that weirdness.
Reply With Quote
 

Bookmarks

Tags
ultrawide resolution

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.