Cab position on normal and widescreen monitors
#21
Posted 11 August 2017 - 09:19 AM
We are talking about the outside angle from the cab?
16x9 0% Zoom
http://www.atomic-album.co.uk/showPic.php/178898/test-16x9.jpg
4x3 window mode
http://www.atomic-album.co.uk/showPic.php/178898/test_4x3.jpg
Thanks
#22
Posted 11 August 2017 - 10:17 AM
Do you think that maybe I am doing something wrong?
#23
Posted 11 August 2017 - 10:39 AM
Borislav, on 11 August 2017 - 10:17 AM, said:
Do you think that maybe I am doing something wrong?
I don't see how. Can you post your OR log file just incase. Also can you post the the top of your CVF file, showing the front, left and right positions?
Thanks
#24
Posted 11 August 2017 - 10:45 AM
Coolhand101, on 11 August 2017 - 10:39 AM, said:
Thanks
Sure
Log file using Fullscreen (Wide screen) mode:
OpenRailsLogWS.txt (14.26K)
Number of downloads: 340
Log file using Windowed (4:3 screen) mode:
OpenRailsLogSS.txt (14.27K)
Number of downloads: 425
My .cvf file top section:
SIMISA@@@@@@@@@@JINX0h0t______
Tr_CabViewFile (
CabViewType ( 2 )
CabViewFile ( "..\\..\\Common.Cab\\ES44v3\\frontTEST.ace" )
CabViewWindow ( 0 0 640 400 )
CabViewWindowFile ( "" )
Position ( 1 4 8.5 )
Direction ( 14.6 -12.5 -0.1 )
CabViewFile ( "..\\..\\Common.Cab\\ES44v3\\levaCSXT.ace" )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( "" )
Position ( -1.1 4 9 )
Direction ( 3.45 -1.8 0 )
CabViewFile ( "..\\..\\Common.Cab\\ES44v3\\rightRW.ace" )
CabViewWindow ( 0 0 640 480 )
CabViewWindowFile ( "" )
Position ( 1 3.862 8.8 )
Direction ( 5 70 0 )
EngineData ( CEMEX_ES44 )
CabViewControls ( 48
#25
Posted 11 August 2017 - 11:59 AM
The only way i can get different angles in both modes is to use a different FOV on one of the modes.
Edit
Right i have notice something. I get a angle change in the horizontal, if i tick in the graphics tab "fast screen alt tab" for window mode. The angle does not change in full screen when exiting and starting OR.
Can you uncheck this parameter and see what happens in both modes.
Thanks
#27
Posted 11 August 2017 - 12:18 PM
#28
Posted 11 August 2017 - 12:23 PM
Coolhand101, on 11 August 2017 - 12:18 PM, said:
That's it! It WAS the FOV!!!
To tell you the truth, I had no idea what it was used for, so I always left it at default value of 45.
But now that you wrote about changing it, I did just that - changed the value when running in windowed mode so the FOV has the same value as in Full Screen mode - and it works fine!
#29
Posted 11 August 2017 - 12:41 PM
Borislav, on 11 August 2017 - 12:23 PM, said:
To tell you the truth, I had no idea what it was used for, so I always left it at default value of 45.
But now that you wrote about changing it, I did just that - changed the value when running in windowed mode so the FOV has the same value as in Full Screen mode - and it works fine!
Glad that it's sorted :thumbup3:
Btw, the tip about the 'fast screen alt tab' and horizontal shift, i could not reproduce it, so it must of been a fluke!
Thanks
#30
Posted 12 August 2017 - 12:39 AM
The way cab resizing is managed now in case of widescreen windows is not correct in my opinion. What OR does when changing aspect ratio is to leave unaltered the vertical FOV while modifying the horizontal FOV.
Cabviews are built considering having an external standard vertical FOV of 45 degrees and consequently an external standard horizontal FOV of 60 degrees, which corresponds to the 4:3 screens.
A 45 degree vertical FOV leads to an 80 degrees horizontal FOV in a widescreen window.
So, as cab resizing is done, now its width covers an 80 degrees horizontal FOV and its total height (visible plus clipped) would cover a vertical fov of more than 45 degrees. This leads to the anomalies.
So in my opinion when resizing cabs because of widescreens OR should automatically adjust the vertical FOV (reducing it), so that the horizontal FOV remains constant at 60 degrees, which Borislav has done manually.
I have found this formula on the web
tan(FOV_H/2) / screen_width = tan(FOV_V/2) / screen_height
which should help to compute the vertical FOV to be used for a specific aspect ratio, leaving horizontal FOV at 60 degrees.