Day/night textures memory usage
#1
Posted 06 March 2017 - 01:55 PM
#2
Posted 06 March 2017 - 04:39 PM
I leave it on all the time. Doesn't seem to hurt normal operation. I haven't tried a route with enough textures to cause a memory problem yet, so I can't tell whether it helps or not.
Running LAA-anabled 32-bit software (which OR now defaults to) in 64-bit Windows gives it the full 4GB virtual address space available in normal Windows for 32-bit Win32 apps; are you trying to run it in 32-bit Windows, which normally only grants 2GB address spaces? I *have* seen memory usage of OR (in Windows Task Manager) getting close to 2GB with routes that have complex scenery.
#3
Posted 07 March 2017 - 02:32 AM
Mike B, on 06 March 2017 - 04:39 PM, said:
I leave it on all the time. Doesn't seem to hurt normal operation. I haven't tried a route with enough textures to cause a memory problem yet, so I can't tell whether it helps or not.
Running LAA-anabled 32-bit software (which OR now defaults to) in 64-bit Windows gives it the full 4GB virtual address space available in normal Windows for 32-bit Win32 apps; are you trying to run it in 32-bit Windows, which normally only grants 2GB address spaces? I *have* seen memory usage of OR (in Windows Task Manager) getting close to 2GB with routes that have complex scenery.
Thank you for your reply! We're aware of the function, as written. We know OpenRails Terminates at 3.471 GB of memory usage. To put it short, what we're looking for is a check box labeled "Load Day Textures Only When Needed." - To use with night time driving. Add to that, OpenRails should of course load day textures during night driving, if an object does not have night textures.
I sincerely hope the OpenRails development team will look into implementing this, as it will greatly decrease memory usage and enable us to use more night textures.
#4
Posted 07 March 2017 - 05:46 AM
The two cases left out by the moment require a different handling:
-night-only activities: only the night textures should be loaded; easier
-day and night activities: at dawn and sunset one set of textures must be loaded and the other one must be unloaded from memory; a bit more complicated.
If I have time I'll have a check on extending the actual feature; anyhow only an Option checkbox would remain, with name "Load Day/Night Textures Only When Needed".
#5
Posted 07 March 2017 - 06:12 AM
Csantucci, on 07 March 2017 - 05:46 AM, said:
The two cases left out by the moment require a different handling:
-night-only activities: only the night textures should be loaded; easier
-day and night activities: at dawn and sunset one set of textures must be loaded and the other one must be unloaded from memory; a bit more complicated.
If I have time I'll have a check on extending the actual feature; anyhow only an Option checkbox would remain, with name "Load Day/Night Textures Only When Needed".
That sounds wonderful! We very much look forward to that! Please do keep us apprised of your process in this matter.
With many thanks
Mikban, Wase and Bonan
#6
Posted 07 March 2017 - 08:21 AM
Replace attached .exe files in release x.3815. Name of the option has remained the same by the moment, however now only day textures are loaded if an activity starts at night (and only night textures are loaded if an activity starts at daytime). At dawn also the day textures are loaded.
Pls. test this (I've done only a short test).
NoDayTextures.zip (629.96K)
Number of downloads: 338
P.S. To have this committed, as a first step a Trello card must be generated as explained here https://trello.com/b...n-rails-roadmap .
#7
Posted 07 March 2017 - 10:07 AM
Csantucci, on 07 March 2017 - 08:21 AM, said:
Replace attached .exe files in release x.3815. Name of the option has remained the same by the moment, however now only day textures are loaded if an activity starts at night (and only night textures are loaded if an activity starts at daytime). At dawn also the day textures are loaded.
Pls. test this (I've done only a short test).
NoDayTextures.zip
P.S. To have this committed, as a first step a Trello card must be generated as explained here https://trello.com/b...n-rails-roadmap .
Hello again
Preliminary resluts are very positive. Memory usage during night time driving remains the same as during the day, which is what we were hoping for.
I'll email this idea to the email adress as stipulated in the instructions on the OR site immediately. Hopefully, they will examine this proposal and continue development on it in such way that day textures can be loaded during night-time driving - -only- when no night texture is present for an object
With many thanks
Mikban, Wase and Bonan
#8
Posted 07 March 2017 - 01:38 PM
I opened a blueprint https://blueprints.l...of-day-textures .
#9
Posted 13 March 2017 - 11:43 PM