Tentative fix for random buildings red flickering in some cases
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ut / ut-7a_3.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff - port for FGFS,  FDM,                 #
5     #   2d & 3d instruments, animations, systems and over.                      #
6     #           yurik@megasignal.com                                            #
7     #############################################################################         
8     -->
9
10 <!-- Exhaust gas temperature indicator UT-7A-710
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>ut-7a.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18   <object-name>needle_1</object-name>
19   <object-name>needle_2</object-name>
20   <emission>
21     <red-prop>tu154/light/instruments/int-red</red-prop>
22     <green-prop>tu154/light/instruments/int-green</green-prop>
23     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
24   </emission>
25 </animation>
26
27   
28 <!--Needles-->
29 <animation>
30     <type>rotate</type>
31     <object-name>needle_1</object-name>
32     <property>fdm/jsbsim/propulsion/engine[2]/egt-filtered</property>
33 <!--Farenheit-->
34 <!--    <interpolation>
35       <entry><ind>      0.0</ind>       <dep>   -134.0</dep></entry>
36       <entry><ind>      1110.7</ind>    <dep>   0.0</dep></entry>
37       <entry><ind>      2190.6</ind>    <dep>   134.0</dep></entry>
38     </interpolation>-->
39 <!--Celsius-->
40     <interpolation>
41       <entry><ind>      0.0</ind>       <dep>   -134.0</dep></entry>
42       <entry><ind>      600.0</ind>     <dep>   0.0</dep></entry>
43       <entry><ind>      1200.0</ind>    <dep>   134.0</dep></entry>
44     </interpolation>
45     <axis>
46       <x>-1.0</x>
47       <y>0.0</y>
48       <z>0.0</z>
49     </axis>
50 </animation>
51 <animation>
52   <type>rotate</type>
53   <object-name>needle_2</object-name>
54   <property>fdm/jsbsim/propulsion/engine[2]/egt-filtered</property>
55   <factor>3.6</factor>
56   <offset-deg>180.0</offset-deg>
57   <center>
58     <x-m>0.0</x-m>
59     <y-m>0.0</y-m>
60     <z-m>-0.02104</z-m>
61   </center>
62   <axis>
63     <x>-1.0</x>
64     <y>0.0</y>
65     <z>0.0</z>
66   </axis>
67 </animation>
68
69
70 </PropertyList>