Hi All,

Here's a patch for the PC-7 to add a panel to the 3-D cockpit. In fact,
the panel is the same as the 2D one, so the only real affect is to attach
the 2D panel to the firewall so it doesn't disappear when you move the
viewpoint. 

-Stuart

Index: pc7-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/pc7-set.xml,v
retrieving revision 1.8
diff -u -p -8 -w -r1.8 pc7-set.xml
--- pc7-set.xml 19 Apr 2005 13:53:36 -0000      1.8
+++ pc7-set.xml 9 Sep 2006 15:31:48 -0000
@@ -27,17 +27,17 @@ David Culp,  [EMAIL PROTECTED]
    <path>Aircraft/pc7/Sounds/pc7-sound.xml</path>
   </sound>
 
   <virtual-cockpit archive="y">true</virtual-cockpit>
   <allow-toggle-cockpit archive="y">false</allow-toggle-cockpit>
 
   <panel>
    <path>Aircraft/pc7/Panels/pc7-panel.xml</path>
-   <visibility archive="y">true</visibility>
+   <visibility archive="y">false</visibility>
   </panel>
 
   <model>
    <path>Aircraft/pc7/Models/pc7.xml</path>
   </model>
 
   <view n="0">
    <internal archive="y">true</internal>
Index: Models/pc7.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/Models/pc7.xml,v
retrieving revision 1.6
diff -u -p -8 -w -r1.6 pc7.xml
--- Models/pc7.xml      8 Jan 2006 10:39:52 -0000       1.6
+++ Models/pc7.xml      9 Sep 2006 15:31:48 -0000
@@ -2,16 +2,38 @@
 
 <PropertyList>
 
  <path>pc7.ac</path>
  <offsets>
   <pitch-deg>-4</pitch-deg>
  </offsets>
 
+<!-- Panel in 3-D Cockpit-->
+ <panel>
+  <name>Panel3D</name>
+  <path>Aircraft/pc7/Panels/pc7-panel.xml</path>
+  <bottom-left>
+   <x-m>-0.5</x-m>
+   <y-m>-0.4</y-m>
+   <z-m> 0.85</z-m>
+  </bottom-left>
+  <bottom-right>
+   <x-m>-0.5</x-m>
+   <y-m> 0.4</y-m>
+   <z-m> 0.85</z-m>
+  </bottom-right>
+  <top-left>
+   <x-m>-0.5</x-m>
+   <y-m>-0.4</y-m>
+   <z-m> 1.25</z-m>
+  </top-left>
+  <depth-test type="bool">true</depth-test>
+ </panel>
+
 <!-- rain -->
  <model>
   <name>rain</name>
   <path>Models/Weather/rain.xml</path>
   <offsets>
    <x-m>-1.21</x-m>
    <y-m>-0.24</y-m>
    <z-m>0.0</z-m>



        
        
                
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to