Ooen Rails signal display issue
#1
Posted 14 January 2017 - 01:51 PM
#2
Posted 15 January 2017 - 12:28 AM
railguy, on 14 January 2017 - 01:51 PM, said:
There isn't a good solution.
The box appears because that's how large the signal light actually is. The signal light texture is mostly alpha'd out up close, but as you get farther away, the opaque region gets larger and larger, which allows the signal light to be seen much father away.
The snow (and rain) disappears because of an alpha-sorting issue. When the signal light is drawn, the internal system doing it doesn't "know" about the snow so it isn't included in its transparent parts. This has to be fixed in the code of the game. I actually did not know about this issue, as I rarely run in snow, and this problem has been fixed for other things, like forest regions (which, IMO, was much more problematic).
If you are determined to get rid of this vexation, then you could... 1) swap out the signal light texture for another one that doesn't get "bigger" at a distance, 2) modify the light Radius values in the sigcfg.dat file to accommodate the new texture [the value 0.1 should be realistic], 3) turn on the Signal Glow feature of Open Rails.
#3
Posted 15 January 2017 - 08:07 AM
#4
Posted 15 January 2017 - 11:33 AM
PS: Use a siglight.ace from one of the default routes as they do not have that crazy alpha issue.
#5
Posted 15 January 2017 - 12:29 PM
railguy, on 15 January 2017 - 08:07 AM, said:
Unfortunately, I don't have any good suggestions. I am not aware of any decent "regular" signal lamp textures. I guess I could make one sometime...
I do maintain this is a bug, because unlike MSTS, there is hope to get these signal lamps to display correctly. It's already an improvement over MSTS's artifacts.
#6
Posted 15 January 2017 - 03:05 PM
#7
Posted 15 January 2017 - 04:32 PM
#8
Posted 17 January 2017 - 06:31 AM
#9
Posted 17 January 2017 - 07:46 AM
railguy, on 15 January 2017 - 04:32 PM, said:
I am not very fond of the default signal light texture. That being said, it is very tricky to make a signal lamp texture that looks good. But it is very easy to make one that looks bad, and Kuju exceeded all expectations there.
Since I told you I had no suggestions for an alternative texture, I thought I should start working on some. I've been threatening to do it for years. (Oh, years.... and years... woe me...)
Here you can download a better replacement for the default Kuju signal lamp texture that came with MSTS.
This is about 10 minutes in Photoshop, so it is not how I'd ultimately like this to look and work, but it's a start. Note that this texture does have custom-MIPping, even though it's not a "sig view" enlarged texture. That means if you let a utility like Route Riter try and compress or otherwise alter it, the file will be damaged. It also means it's still fully compatible with the Open Rails "signal glow" feature. The filename is different but you can rename it and use it to overwrite the default texture anywhere it's used.
#10
Posted 17 January 2017 - 03:21 PM
Jovet, on 17 January 2017 - 06:31 AM, said:
The intention is to make the glow variable. Two variables will be introduced in the sigcfg.dat file, which will allow to set specific glow values for day and night, per signal type. For instance, small shunt signals can be given a much lower glow value than main signal heads, as would be the case in reality. A further variable will allow lights be switched off during daytime, as was customary on some semaphore signals, e.g. in the UK.
Work on this has allready been done, but introduction is held until after the release of version 1.2.
Regards,
Rob Roeterdink