Going beyond the 4 GB of memory
#121
Posted 21 November 2017 - 01:52 PM
I also noticed a strange thing: while _Shader is not null and therefore line 1261 of MSTSLocomotiveViewer.cs is executed, Shader is null at lines 1686 and at other lines.
#122
Posted 21 November 2017 - 02:53 PM
Csantucci, on 21 November 2017 - 01:52 PM, said:
Some of my tests did result in black screens! I thought it was problems with my code. If I have time tomorrow I'll try to remember what I did and repeat them.
Dennis
#123
Posted 21 November 2017 - 11:50 PM
nightColorModifier.SetValue(0.0f);
#124
Posted 22 November 2017 - 03:36 AM
ORMG_Cab2d_Rev1.zip (50.2K)
Number of downloads: 298
There was something to adjust also on the shader.
#125
Posted 22 November 2017 - 04:59 AM
Here the updated dev kit can be downloaded http://www.interazio...DevKit_Rev7.zip can be downloaded.
My list of pending functional problems is empty at the moment.
Thanks again to Dennis for his invaluable contributions.
#126
Posted 22 November 2017 - 05:16 AM
Csantucci, on 22 November 2017 - 04:59 AM, said:
Here the updated dev kit can be downloaded http://www.interazio...DevKit_Rev7.zip can be downloaded.
My list of pending functional problems is empty at the moment.
Thanks again to Dennis for the last mile.
Hi Carlo,
I've tested this and it seems to work OK. A further refinement is to remove the Shader.Apply() statements from MSTSLocomotiveViewer.cs. There is now nothing for them to Apply to since the SpriteBatch.Draw now does that.
Dennis
#127
Posted 22 November 2017 - 05:17 AM
#128
Posted 22 November 2017 - 06:21 AM
Csantucci, on 22 November 2017 - 05:17 AM, said:
Thank you Carlo
I've just been doing some tests and this latest version of Monogame 3.6 seems to perform much better than the first. I'll upload the screenshots to match the ones I took earlier in this thread.
Dennis
#129
Posted 22 November 2017 - 06:54 AM
Csantucci, on 22 November 2017 - 04:59 AM, said:
Here the updated dev kit can be downloaded http://www.interazio...DevKit_Rev7.zip can be downloaded.
My list of pending functional problems is empty at the moment.
Thanks again to Dennis for his invaluable contributions.
Thank you for this new (and quick) version. In fact, i had never take care to cab shader before night. Now it's ok and nice.
One detail : The cab shader impact the entire screen, even the instruments lights, always on in some cabs. Can we imagine a special layer for lights whitch could stay on ?
François
#130
Posted 22 November 2017 - 08:03 AM
dennisat, on 22 November 2017 - 06:21 AM, said:
Here they are:
XNA
Monogame 3.6 First Version
Monogame 3.6 Current Version