Board index FlightGear Development New features

Night lights

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Night lights

Postby Ernest1984 » Tue Jan 25, 2011 2:58 am

Hello all!

Once i've played FlightGear last time, i was flying in the evening/night and i thought about some idea:

The lights on the ground should dissapear by the basis "more further - more darker they are", not how it is now, like they dissapear totally, just like "that", after reaching the point of some distance. This would give much more reality to the graphic aspects of FlightGear i think.
EPWA-hub: ERJ-195 clsgn: ERNIE
Around The World with B1900D!
callsign: AROUNDw - currently suspended till the FG will have a proper look on different locations
User avatar
Posts: 438
Joined: Wed Dec 01, 2010 3:47 pm
Location: Poland / Canada
Callsign: ERNIE
Version: 2.10
OS: Mac OS X 10.8.2

Re: Night lights

Postby Quix0r » Fri Apr 08, 2011 11:56 pm

The best would be when they are "real" light sources. E.g. look at the tail fin of some airplanes, if you turn on lights the tail fin texture is being replaced with a "night version" texture. Same applies to buildings.

Adding those (multiple) light sources could drain your FPS a lot because it is "expensive" to calculate them + shadowing (object self-shadowing for example, like the Source engine from Half-Life does). But I think that is to hard to implement. And I'm no C++/OpenGL coder. :(
Admin of mpserver08: running latest GIT version: v0.13.3 - User:Quix0r
Posts: 112
Joined: Tue Sep 22, 2009 8:49 pm
Location: Krefeld
Callsign: D-Quix0r
Version: next
OS: Debian

Re: Night lights

Postby VicMar » Sat Apr 09, 2011 9:40 am

As far as buildings are concerned, this can be controlled by either .xml, or .ac files.

These should be taken into account when the model maker submits his work for inclusion in the FG scenery data-base.

There is a field in the .xml file which allows the visible distance to be set on the lit up part of the model, plus white buildings which are not lit can be given some night texturing in the .ac file by entering a small amount of 'emis' on the white material.

There have been pictures taken by satellites which show there is extremely bright illumination at night practically all over the world.

Hope that helps.

Vic ... and_colors
Time flies like an arrow
Fruit flies like a banana
User avatar
Posts: 2045
Joined: Sun Apr 06, 2008 5:53 pm
Location: Lancing. UK (EGKA)
Callsign: VicMar
Version: 2018.3.1
OS: OS X 10.12.6

Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest