Illuminator is a configuration utility for lights in FlightGear.
You can use it to fine tune landing lights etc
To make use of this addon
- Download the addon at https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/Illuminator/ and add it via the launcher or command line (see Addons for more information)
- For the time being you need the development version aka "next".
- Add XML light definition to your aircraft. This has to be done manually as the addon can only configure existing lights.
Adding lights to an aircraft
See Compositor#Lights for a sample XML and explanation. The UFO was modified to contain spot lights to illustrate the use of this addon.
|Warning Addon works only for spot lights|
You can select one or two lights to configure. If the checkbox for 2nd light is checked, configuration changes will be done simultaneously for both selected lights.
|Note To find a light by name, click the props button (top right), go up one level in the property browser and ctrl-click on the "." entry to activate verbose mode.|
Use the direction sliders to can be selected inverted (multiplied by -1) for the 2nd light. This is useful if you have a left and a right light and you want to turn them to the center or outside.
It is assumed that the XML definition for the light uses the pitch, roll, heading elements for direction. Other variants have not been tested and may lead to unexpected results or even crash.
Range and attenuation
To make things easy, there are presets (taken from the website referenced on the Compositor page). Select a predefined range (in meters) by clicking the left or right button.
The attenuation parameters are set accordingly, but can be modified again.
Configuration works only for spot lights.