Elvas Tower: Signal light glow - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 9 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Signal light glow Rate Topic: -----

#1 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,399
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 26 June 2014 - 12:35 PM

Thanks to Rob, I've got a new experimental feature to announce: signal light glow.

This feature takes the ideas explored by people with custom mipmaps one step further and adds a "glowing" effect around almost any signal light. The effect is controlled by some relatively simple heuristics for now, but the plan is to allow direct control of this by authors later.

The current heuristics for the "glow factor" is:

  • Typical electric light during the day: 3.0
  • Typical electric light during the night: 5.0
  • Semaphore signal light during the day: 0.0
  • Semaphore signal light during the night: 5.0
  • Theatre box and other info/shunting lights: 0.0


The effect is certainly up for any suggested improvements on the following factors:

  • Initial cut-off - the distance before which no glow appears
  • Glow scaling factor - how fast the glow increases in size (it's logarithmic)
  • Glow factors - the numbers listed above
  • The heuristics on types of light - listed above


This feature is in X2322.

#2 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 27 June 2014 - 07:50 AM

Having just graduated with "excellent success", I might not be wholly clear in my head, but anyway - How do you use this feature?

Great progress, looking forward to trying it out SOON :sign_rockon:

Cheers, Markus

#3 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,399
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 27 June 2014 - 07:54 AM

 markus_GE, on 27 June 2014 - 07:50 AM, said:

Having just graduated with "excellent success", I might not be wholly clear in my head, but anyway - How do you use this feature?

Great progress, looking forward to trying it out SOON :sign_rockon:


You tick the experimental option "signal light glow" and see how much easier the lights on signals are to see in the distance, both during the day and at night.

P.S. Congratulations on the graduation. :oldstry:

#4 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 27 June 2014 - 07:56 AM

So, I won´t have to change anything in SIGSCRs or SIG-DATs?

:sign_rockon: :oldstry:

Cheers, Markus

#5 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,325
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 27 June 2014 - 08:47 AM

Quote

Freshly graduated with excellent success - If it´s adrenaline, endorphins, or whatever, I might not be totally clear in my head ;)

:bravo: :sign_rockon: :oldstry: :party: :pardon: :burp:

#6 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 27 June 2014 - 09:22 AM

something bad happened :\
Attached Image: Open Rails 2014-06-27 11-40-23.png
Attached Image: Open Rails 2014-06-27 11-40-08.png

#7 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,399
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 27 June 2014 - 09:53 AM

 markus_GE, on 27 June 2014 - 07:56 AM, said:

So, I won´t have to change anything in SIGSCRs or SIG-DATs?


Correct.

 disc, on 27 June 2014 - 09:22 AM, said:



If the route already uses the mipmap "trick" then the glow will likely be massively oversized. I don't think we can easily identify this situation though - that will be what the future sigcfg options are for.

#8 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 27 June 2014 - 11:33 AM

 roeter, on 27 June 2014 - 08:47 AM, said:

:burp: :sign_rockon: :bravo: ;) :party: :burp:


Rob, you´re back?! :pardon:

:oldstry:, Rob. But the last one will only fit to morrow ;)

Cheers, Markus

#9 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,049
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 30 June 2014 - 01:00 PM

 James Ross, on 27 June 2014 - 09:53 AM, said:





If the route already uses the mipmap "trick" then the glow will likely be massively oversized. I don't think we can easily identify this situation though - that will be what the future sigcfg options are for.


Comparison of an MLT route with the Mid East Plus reveals that the MLT route uses a signal light radius of 0.6 compared with a default of 0.3. I believe that some later pay routes use a radius of 1.04 and it is these larger figures that cause the big glow effect. Driving at night now on the MEP reveals just how confusing signal lights really are when you are not familiar with the route.

Now to the glow effect itself using a radius of 0.3. The system works in a similar way to the MLT system with signals further away being drawn a bit larger than they actually are. This leads to a slight fuzziness to the glow until it is some 2 to 3 hundred feet away. With the small radius figure there is no clipping of the ace file either which is very visible using the larger radius figures.

#10 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

Posted 30 June 2014 - 02:09 PM

MLT sometime ago developed what they call the "Sigview technology". It´s an improved siglight texture with lots of "empty space around the actual light, that is filled with color the farther the signal is away. You need to use a siglight radius of 1.04 with it.

I converted all my routes to this siglight texture, so am I going to have problems?

Cheers, Markus

  • 9 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users