The International Simutrans Forum

 

Author Topic: Lighting standards for underground objects  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 17633
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Lighting standards for underground objects
« on: August 16, 2015, 09:40:29 AM »
Now that we have an allow_underground parameter that means that certain things can only be built underground, is it worth considering a revised lighting standard for rendering such objects? Normal objects, which appear above ground, have a simulated sun in their lighting setup in Blender, which makes one direction much lighter than another.

In principle, this should not apply to underground objects, such as underground signals and even depots. Should we adopt a flat lighting setup for these objects, perhaps allowing for bespoke local lighting to simulate light sources in the object itself? Or is the difficulty that the vehicles will remain lit in daylight making the whole thing look odd?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2256
Re: Lighting standards for underground objects
« Reply #1 on: August 16, 2015, 11:13:44 AM »
Quote
Or is the difficulty that the vehicles will remain lit in daylight making the whole thing look odd?
Correct! Simulating different lighting sources is really beyond the capability of the graphics engine, so I'd just stick with what we have.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 17633
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Lighting standards for underground objects
« Reply #2 on: August 17, 2015, 10:27:37 PM »
Very well - that makes things simpler at least, although a sunlit underground signalling cabin looks a tad odd.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2321
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Lighting standards for underground objects
« Reply #3 on: August 23, 2015, 09:18:57 AM »
What about using night colors for objects that are underground.  Would it be possible in sliced mode?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2256
Re: Lighting standards for underground objects
« Reply #4 on: August 23, 2015, 10:00:17 AM »
What about using night colors for objects that are underground.  Would it be possible in sliced mode?
The thought had crossed my mind - however sliced mode is a problem, as is lighting within stations which are usually well lit so would probably look better with daylight images, so what happens to vehicles which are half in a station...