Hi Dietmar,
My guess, and it's only a guess to implement the Terrain awareness display specification
is a modified version of the approach used in the TAWS described in the Custom Draw manual .
I have not studied it but assume that a Macro be created associating the colour height array
to the current aircraft altitude , then that Macro be called in in each Elevation Custom Draw.
If I remember correctly the display must be refreshed (switched On/Off) whenever there is a significant
Aircraft altitude change.
Yes , I suppose I am a F-111 fan , it happened by accident , I settled on that aircraft to
progressively add functional capabilities that generally improve Situational Awareness ,
it was a lucky choice as it is a fast and powerful beast that facilitates testing in
virtually all circumstances.
It is the only System/Panel/instrumentation that I work on , and the development concentrates
on deepening it's capabilities.
That alone represents an endless task with lots of wonderful challenges .
Below is the Dimmer code for the primary radar.
In the secondary radar on the WSO side I varied the colours for dim steps and that resulted in
interesting elevation tints.
Cheers
Karol
Primary radar Dim.
( Placed after the very last "End Element" of the instrument. )
Code:
<!--DIMMER-->
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 0 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x031803</FillColor>
<Transparency>1.0</Transparency>
</Rectangle>
</Element>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 1 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x010201</FillColor>
<Transparency>0.9</Transparency>
</Rectangle>
</Element>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 2 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x031803</FillColor>
<Transparency>0.8</Transparency>
</Rectangle>
</Element>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 3 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x031803</FillColor>
<Transparency>0.7</Transparency>
</Rectangle>
</Element>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 4 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x031803</FillColor>
<Transparency>0.6</Transparency>
</Rectangle>
</Element>
<Element id="RdrDim">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:PIG_dim,enum) 5 ==</Visibility>
<Rectangle id="Rectangle">
<Width>351</Width>
<Height>350</Height>
<FillColor>0x031803</FillColor>
<Transparency>0.5</Transparency>
</Rectangle>
</Element>
</Element>
<Element id="Dim indicator">
<FloatPosition>8.000,365.000</FloatPosition>
<GaugeText id="GaugeText">
<Bright>True</Bright>
<FontColor>0x547C54</FontColor>
<FontFace>Arial</FontFace>
<FontHeight>14</FontHeight>
<GaugeString>%((L:PIG_dim))%{case}%{:0} 0%{:1} 1%{:2} 2%{:3} 3%{:4} 4%{:5} 5%{end}</GaugeString>
<Size>18,16</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
</Element>