Elvas Tower: Static Object Enhancements - 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.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Static Object Enhancements Rate Topic: -----

#1 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,926
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 16 February 2026 - 08:21 PM

What would it take to implement something similar in structure to a WAG/ENG file for a Static() object?

Had a thought the other day on this... if we could have a .sdx file that goes with a specific .s file, we could define lighting sources (i.e. floodlights, red clearance indicators, animated sign boards) and possibly also trigger particle effects for chimneys, water cooling towers, etc... Maybe also include a time parameter to trigger them?

Is that just crazy thought, or could this be done with moderate effort? The code to execute lighting is already done. It would just need to be invoked similar to the player train objects and AI train objects.

#2 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin Group
  • Posts: 15,934
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 16 February 2026 - 09:44 PM

I can't answer your question but having street lights really really cast light would be of great value. Car headlights too.

I've always wanted to have control over when night lighting is turned off. Not the same as what you are thinking about just that are lots of static objects that could be improved if there was an ability to control the lights in/on them. Like in this scene:
Attached Image: Clipboard0353.jpg

#3 User is offline   goku 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,938
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 03 March 2026 - 04:29 PM

View Posteric from trainsim, on 16 February 2026 - 08:21 PM, said:

What would it take to implement something similar in structure to a WAG/ENG file for a Static() object?

You already have one parameter file for .s files: sd. Just add more parameters, but ...

View Posteric from trainsim, on 16 February 2026 - 08:21 PM, said:

Is that just crazy thought, or could this be done with moderate effort? The code to execute lighting is already done. It would just need to be invoked similar to the player train objects and AI train objects.

The code may be here, but old way of making lights is very expensive. Cost of lighting scales linearly with number of lights. So, it may be fine for some train lights, but rich scenery lighting could kill the most powerful PC. XXI century AAA game engines solved this by deferred rendering. You can read about it. I have no idea if OR supports deferred rendering, but I bet not. There are even more modern options than deferred rendering like ray of path tracing.

#4 User is offline   Jonatan 

  • Vice President
  • Group: Posts: Elite Member
  • Posts: 2,872
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 03 March 2026 - 05:41 PM

I'd love particle effects in scenery objects for stuff like factory stacks etc, as this is pretty much standard for other sims these days. I have a long list of routes with industrial areas I could implement this into already.

#5 User is offline   darwins 

  • Superintendant
  • Group: Posts: Elite Member
  • Posts: 1,634
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 04 March 2026 - 01:26 AM

For historical routes definitely smoke and smog effects would be an enhancement. For all routes being able to set lights on and off times either absolute or relative to dusk or dawn would be fantastic. Different buildings could be different. For UK routes where until recently trains ran without headlights night times can still be much too dark. Please could we have some moonlight, especially on clear nights?

Page 1 of 1
  • 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