Pilatus PC 12/47 : Adding a livery "Orange", improved dashboard.
[fg:toms-fgdata.git] / Aircraft / PC-12 / Models / shadow.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <PropertyList>
4
5   <path>shadow.ac</path>
6
7   <animation>
8     <!-- Objets opaques -->
9
10     <!-- Objets transparents -->
11     <object-name>shadow</object-name>
12   </animation>
13
14   <animation>
15     <type>noshadow</type>
16     <object-name>shadow</object-name>
17   </animation>
18
19   <animation>
20     <type>select</type>
21     <object-name>shadow</object-name>
22     <condition>
23       <and>
24         <not><property>sim/freeze/replay-state</property></not>
25         <not><property>sim/rendering/shadows/enabled</property></not>
26       </and>
27     </condition>
28   </animation>
29
30   <!-- Une ombre pour OSG en attendant mieux ;) basé sur l'ombre du DC 3-->
31   <!-- pitch -->
32   <animation>
33     <type>rotate</type>
34     <object-name>shadow</object-name>
35     <property>/orientation/pitch-deg</property>
36     <factor> -1 </factor>
37     <axis>
38       <x> 0 </x>
39       <y> 1 </y>
40       <z> 0 </z>
41     </axis>
42   </animation>
43
44   <!-- roll -->
45   <animation>
46     <type>rotate</type>
47     <object-name>shadow</object-name>
48     <property>/orientation/roll-deg</property>
49     <factor> 1 </factor>
50     <axis>
51       <x> 1 </x>
52       <y> 0 </y>
53       <z> 0 </z>
54     </axis>
55   </animation>
56
57   <!-- Translate to ground level -->
58   <animation>
59    <type>translate</type>
60    <object-name>shadow</object-name>
61    <property>sim/multiplay/generic/float[2]</property>
62    <factor> -1 </factor>
63    <axis>
64      <x> 0 </x>
65      <y> 0 </y>
66      <z> 1 </z>
67    </axis>
68  </animation>
69
70 </PropertyList>