[pkg-fgfs-crew] Bug#751847: flightgear: Seneca II interior lighting

Ludovic Brenta ludovic at ludovic-brenta.org
Thu Jun 19 21:54:21 UTC 2014


I discovered that the SenecaII uses some instruments that are shared
with other aircraft and not defined in the SenecaII file hierarchy.
These instruments seem to agree that the property controlling the
dimming of instrument lights is /sim/model/material/instruments/factor,
not /controls/lighting/instruments-norm.

This new version of my patch unifies all uses of the lighting properties
for consistency and compatibility with common instruments.  Only the
following properties are used now:

    <model>
      <material>
        <instruments>
          <red type="double">1.0</red>
          <green type="double">0.2</green>
          <blue type="double">0.0</blue>
          <factor type="double">0</factor> <!-- used by instruments common to several aircraft -->
        </instruments>
        <overhead-lighting>
          <red type="double">0.06</red>
          <green type="double">0.003</green>
          <blue type="double">0</blue>
          <factor type="double">0</factor>
        </overhead-lighting>
      </material>

(This version replaces the earlier ones I posted; it is cumulative.)

-- 
Ludovic Brenta.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 751847-v2.patch
Type: text/x-diff
Size: 33444 bytes
Desc: Second version of the interior lighting patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-fgfs-crew/attachments/20140619/17c23398/attachment-0001.patch>


More information about the pkg-fgfs-crew mailing list