by 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