Hi

please find attached a patch for the 3d artificial horizon. It enables the 
movement of the reference bar like the 2d instrument and corrects the wrong 
display of pitch.

The original version already has a reference bar object in the .ac file called 
bezel, but it is not bound to a animation. And the pitch is indicated approx. 
25% low so a pitch of +10deg is indicated as approx. 7deg.

Can someone please verify that it is not only working for my installation and 
probably commit this?

Thanks, Torsten
Index: ai.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Instruments-3d/ai/ai.xml,v
retrieving revision 1.3
diff -u -p -r1.3 ai.xml
--- ai.xml	25 Feb 2006 18:16:56 -0000	1.3
+++ ai.xml	27 Sep 2007 11:07:33 -0000
@@ -24,7 +24,22 @@
   <type>translate</type>
   <object-name>Pitch</object-name>
   <property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
-  <factor>-0.00035</factor>
+  <factor>-0.000530</factor>
+  <min-m>-0.01575</min-m>
+  <max-m>0.01575</max-m>
+  <axis>
+   <x>0.0</x>
+   <y>0.0</y>
+   <z>1.0</z>
+  </axis>
+ </animation>
+
+ <animation>
+  <name>BezelTranslation</name>
+  <type>translate</type>
+  <object-name>Bezel</object-name>
+  <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
+  <factor>-0.000530</factor>
   <min-m>-0.01575</min-m>
   <max-m>0.01575</max-m>
   <axis>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to