Board index FlightGear Development New features

Aircraft lights should be visible far away at night

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

Aircraft lights should be visible far away at night

Postby Sealbhach » Wed Feb 29, 2012 10:50 pm

It would be nice if we could see the lights of other aircraft from ten or twenty miles away, as is the case in real life. Often when flying multiplayer at night, my map tells me another aircraft is close by but I can never see them. Same with AI aircraft. It would be good to if we could standardize aircraft lights, so they appear and behave the same way in all aircraft.

.
Sealbhach
 
Posts: 934
Joined: Wed Jun 30, 2010 10:17 am

Re: Aircraft lights should be visible far away at night

Postby Hooray » Wed Feb 29, 2012 11:27 pm

feature requests are ideally posted here: http://flightgear-bugs.googlecode.com/
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Aircraft lights should be visible far away at night

Postby Sealbhach » Wed Feb 29, 2012 11:46 pm

OK, I'll post it there, thanks!

.
Sealbhach
 
Posts: 934
Joined: Wed Jun 30, 2010 10:17 am

Re: Aircraft lights should be visible far away at night

Postby erik » Thu Mar 22, 2012 12:54 pm

In the past this was done by scaling the light when it flashes/strobes (note the dependence on day-time/night-time).

Code: Select all
<animation>
  <type>scale</type>
  <object-name>strobe</object-name>
  <property>/sim/time/sun-angle-rad</property>
  <offset>-1.4</offset>
  <x-min>1</x-min>
  <y-min>1</y-min>
  <z-min>1</z-min>
  <x-factor>12</x-factor>
  <y-factor>12</y-factor>
  <z-factor>12</z-factor>
 </animation>


I just realised it might also be a good idea to transpose the light towards the viewer.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2245
Joined: Thu Nov 01, 2007 2:41 pm


Return to New features

Who is online

Users browsing this forum: No registered users and 11 guests