A3XX: Overhaul Artificial Horizon on PFD

This commit is contained in:
Joshua Davidson 2017-07-04 01:04:35 -04:00
parent bb160946b1
commit bafe8eedba
6 changed files with 102 additions and 2 deletions

View file

@ -150,6 +150,42 @@
</transform>
</animation>
<animation>
<type>texmultiple</type>
<object-name>horizonhdg</object-name>
<transform>
<property>/instrumentation/pfd/horizon-pitch</property>
<subtype>textranslate</subtype>
<factor>0.003955078</factor>
<axis>
<x>0</x>
<y>1</y>
</axis>
</transform>
<transform>
<property>/instrumentation/pfd/heading-deg</property>
<subtype>textranslate</subtype>
<factor>0.0035142857142857</factor>
<axis>
<x>1</x>
<y>0</y>
</axis>
</transform>
<transform>
<property>/orientation/roll-deg</property>
<subtype>texrotate</subtype>
<center>
<x>0.50</x>
<y>0.50</y>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
</transform>
</animation>
<animation>
<type>texrotate</type>
<object-name>sky</object-name>

View file

@ -150,6 +150,42 @@
</transform>
</animation>
<animation>
<type>texmultiple</type>
<object-name>horizonhdg</object-name>
<transform>
<property>/instrumentation/pfd/horizon-pitch</property>
<subtype>textranslate</subtype>
<factor>0.003955078</factor>
<axis>
<x>0</x>
<y>1</y>
</axis>
</transform>
<transform>
<property>/instrumentation/pfd/heading-deg</property>
<subtype>textranslate</subtype>
<factor>0.0035142857142857</factor>
<axis>
<x>1</x>
<y>0</y>
</axis>
</transform>
<transform>
<property>/orientation/roll-deg</property>
<subtype>texrotate</subtype>
<center>
<x>0.50</x>
<y>0.50</y>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
</transform>
</animation>
<animation>
<type>texrotate</type>
<object-name>sky</object-name>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -3,7 +3,26 @@ MATERIAL "ac3dmat1" rgb 1 1 1 amb 0 0 0 emis 0.658824 0.670588 0.67451 spec 0
MATERIAL "white" rgb 1 1 1 amb 1 1 1 emis 0.798 0.798 0.798 spec 0 0 0 shi 0 trans 0
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0
OBJECT world
kids 53
kids 54
OBJECT poly
name "horizonhdg"
loc -0.000614104 0.000830183 0.00541043
texture "horizonhdg.png"
crease 45.000000
numvert 4
0 -0.0443777 -0.0369368
0 -0.0443777 0.0369368
0 0.0443777 0.0369368
0 0.0443777 -0.0369368
numsurf 1
SURF 0x30
mat 0
refs 4
3 0.5875 0.5875
2 0.4125 0.5875
1 0.4125 0.4125
0 0.5875 0.4125
kids 0
OBJECT poly
name "fbwmask"
loc 0.000382955 0.0573058 0.00520964

View file

@ -277,7 +277,6 @@
<name>Ground Horizon</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.01</update-interval-secs>
<input>
<condition>
<and>
@ -340,4 +339,14 @@
<max>16</max>
</filter>
<filter>
<name>Horizon Heading Pitch</name>
<type>gain</type>
<gain>1</gain>
<input>/orientation/pitch-deg</input>
<output>/instrumentation/pfd/horizon-pitch</output>
<min>-15</min>
<max>16</max>
</filter>
</PropertyList>