CVS: data/Aircraft/Piper-PA-32/Models pa32.ac, NONE, 1.1 pa32.xml, NONE, 1.1 prop.png, NONE, 1.1 shadow.ac, NONE, 1.1 shadow.png, NONE, 1.1 shadow.xml, NONE, 1.1 texture.png, NONE, 1.1 texture.xcf.gz, NONE, 1.1

Emmanuel Baranger <[email protected]> Mon, 19 Apr 2010 16:54:46 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
--===============6415029219138099270==

Update of /var/cvs/FlightGear-0.9/data/Aircraft/Piper-PA-32/Models
In directory baron.flightgear.org:/tmp/cvs-serv31301/Models

Added Files:
	pa32.ac pa32.xml prop.png shadow.ac shadow.png shadow.xml 
	texture.png texture.xcf.gz 
Log Message:
- new plane 

--- NEW FILE "pa32.ac" ---
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1  amb 1 1 1  emis 0 0 0  spec 0.5 0.5 0.5  shi 64  trans 0
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "transparent" rgb 0.547091 0.565624 0.595981 amb 0 0 0 emis 0 0 0 spec 1 1 1 shi 64 trans 0.7
MATERIAL "ac3dmat1.001" rgb 1 1 1 amb 0.745 0.745 0.745 emis 0 0 0 spec 0.2 0.2 0.2 shi 16 trans 0
MATERIAL "Default" rgb 1 1 1 amb 0.745 0.745 0.745 emis 0 0 0 spec 1 1 1 shi 72 trans 0
MATERIAL "ac3dmat1.002" rgb 1 1 1 amb 0.745 0.745 0.745 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
MATERIAL "Propeller" rgb 0 0 0 amb 1 1 1 emis 0 0 0 spec 1 1 1 shi 72 trans 0
OBJECT world
kids 34
OBJECT poly
name "aileronD"
data 8
aileronD
texture "texture.png"
texrep 1 1
crease 30.000000
numvert 30
-0.495258 -0.267907 -4.30919
[...55186 lines suppressed...]
mat 1
refs 4
23 0.336976468563 0.467861562967
24 0.336976468563 0.468175441027
30 0.245092406869 0.467510700226
29 0.245092406869 0.467265546322
SURF 0x10
mat 1
refs 4
31 0.245092406869 0.46759429574
30 0.245092406869 0.467510700226
24 0.336976468563 0.468175441027
25 0.336976468563 0.468282461166
SURF 0x10
mat 1
refs 3
0 0.245092362165 0.445910841227
1 0.245092406869 0.465140402317
5 0.245092406869 0.465140402317
kids 0

--- NEW FILE "pa32.xml" ---
<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>

  <path>pa32.ac</path>

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/Piper-PA-32/Models/Liveries", 10);
    </load>
    <unload>
      livery_update.stop();
    </unload>
  </nasal>

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>direction</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>bol</object-name>
    <object-name>helice</object-name>
    <object-name>trous</object-name>
    <object-name>cache</object-name>
    <object-name>echappe</object-name>
    <object-name>trousprof</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
  </animation>

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>vitres</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>direction</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>bol</object-name>
    <object-name>helice</object-name>
    <object-name>trous</object-name>
    <object-name>cache</object-name>
    <object-name>echappe</object-name>
    <object-name>trousprof</object-name>

    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>texture.png</texture>
<!--
    <diffuse>
      <red-prop>diffuse/red</red-prop>
      <green-prop>diffuse/green</green-prop>
      <blue-prop>diffuse/blue</blue-prop>
    </diffuse>

    <ambient>
      <red-prop>ambient/red</red-prop>
      <green-prop>ambient/green</green-prop>
      <blue-prop>ambient/blue</blue-prop>
    </ambient>
-->
    <specular>
      <red-prop>specular/red</red-prop>
      <green-prop>specular/green</green-prop>
      <blue-prop>specular/blue</blue-prop>
    </specular>

    <emission>
      <red-prop>emission/red</red-prop>
      <green-prop>emission/green</green-prop>
      <blue-prop>emission/blue</blue-prop>
    </emission>
<!--
    <shininess>
      <shininess-prop>shininess</shininess-prop>
    </shininess>
-->
  </animation>

  <!-- Rentré des roues Temporairement disparition/apparition des roues -->
  <animation>
    <type>select</type>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <condition>
      <not>
        <equals>
          <property>gear/gear[0]/position-norm</property>
          <value> 0 </value>
        </equals>
      </not>
    </condition>
  </animation>

  <!-- Une ombre pour OSG -->
  <model>
    <name>shadowOSG</name>
    <path>Aircraft/Piper-PA-32/Models/shadow.xml</path>
  </model>

  <animation>
    <type>select</type>
    <object-name>shadowOSG</object-name>
    <condition>
      <equals>
        <property>sim[0]/rendering/shadows-ai</property>
        <value>true</value>
      </equals>
    </condition>
  </animation>

  <!-- Interieur -->
  <model>
    <path>Aircraft/Piper-PA-32/Models/Interior/interior.xml</path>
    <offsets>
      <x-m> 0 </x-m>
      <y-m> 0 </y-m>
      <z-m> 0 </z-m>
      <roll-deg>    0 </roll-deg>
      <pitch-deg>   0 </pitch-deg>
      <heading-deg> 0 </heading-deg>
    </offsets>
  </model>

  <!-- L'hélice --> 
  <animation>
    <name>HeliceComplete</name>
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
    <object-name>helice</object-name>
    <object-name>bol</object-name>
  </animation>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdisc</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value>1500</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblur</object-name>
    <condition>
    <and>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>1500.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>helice</object-name>
    <condition>
      <less-than>
        <property>engines/engine[0]/rpm</property>
	<value>1500</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete</object-name>
    <property>/engines/engine[0]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -3.890 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.437 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Animations des ailerons -->
  <animation>
    <type>rotate</type>
    <object-name>aileronG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -0.495 </x1-m>
      <y1-m> -4.309 </y1-m>
      <z1-m> -0.257 </z1-m>
      <x2-m> -0.390 </x2-m>
      <y2-m> -2.492 </y2-m>
      <z2-m> -0.529 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -0.390 </x1-m>
      <y1-m>  2.492 </y1-m>
      <z1-m> -0.529 </z1-m>
      <x2-m> -0.495 </x2-m>
      <y2-m>  4.309 </y2-m>
      <z2-m> -0.257 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.383 </x1-m>
      <y1-m> -2.492 </y1-m>
      <z1-m> -0.545 </z1-m>
      <x2-m> -0.383 </x2-m>
      <y2-m> -0.694 </y2-m>
      <z2-m> -0.820 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.383 </x1-m>
      <y1-m>  0.694 </y1-m>
      <z1-m> -0.820 </z1-m>
      <x2-m> -0.383 </x2-m>
      <y2-m>  2.492 </y2-m>
      <z2-m> -0.545 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <name>AllPronfondeur</name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AllPronfondeur</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m>  3.593 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.034 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m> 3.645 </x1-m>
      <y1-m> 0.000 </y1-m>
      <z1-m> 0.140 </z1-m>
      <x2-m> 3.872 </x2-m>
      <y2-m> 0.000 </y2-m>
      <z2-m> 1.305 </z2-m>
    </axis>
  </animation>

  <!-- Rentre des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -105 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.051 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.788 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
 
  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -3.149 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.428 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <property>gear/gear[1]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.765 </x-m>
      <y-m> -1.566 </y-m>
      <z-m> -1.294 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueD</object-name>
    <property>gear/gear[2]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.765 </x-m>
      <y-m>  1.566 </y-m>
      <z-m> -1.294 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Effets lumineux -->
  <model>
    <path>Aircraft/Piper-PA-32/Models/light/beacon.xml</path>
    <offsets>
      <x-m> 3.777 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 1.441 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Piper-PA-32/Models/light/RedLight.xml</path>
    <offsets>
      <x-m> -1.041 </x-m>
      <y-m> -4.927 </y-m>
      <z-m> -0.097 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Piper-PA-32/Models/light/GreenLight.xml</path>
    <offsets>
      <x-m> -1.041 </x-m>
      <y-m>  4.927 </y-m>
      <z-m> -0.097 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Piper-PA-32/Models/light/StrobeWhite.xml</path>
    <offsets>
      <x-m> -1.021 </x-m>
      <y-m> -4.927 </y-m>
      <z-m> -0.097 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Piper-PA-32/Models/light/StrobeWhite.xml</path>
    <offsets>
      <x-m> -1.021 </x-m>
      <y-m>  4.927 </y-m>
      <z-m> -0.097 </z-m>
   </offsets>
  </model>

  <!-- Gear light cone -->
  <model>
    <name>LightCone</name>
    <path>Aircraft/Piper-PA-32/Models/light/light-cone.xml</path>
    <offsets>
      <x-m> -3.673 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.701 </z-m>
      <pitch-deg> -7.500 </pitch-deg>
    </offsets>
  </model>

  <animation>
    <type>select</type>
    <object-name>LightCone</object-name>
    <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value> 1 </value>
      </equals>
    </condition>
  </animation>

</PropertyList>


--- NEW BINARY FILE "prop.png" ---

--- NEW FILE "shadow.ac" ---
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1  amb 1 1 1  emis 0 0 0  spec 0.5 0.5 0.5  shi 64  trans 0
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 1
OBJECT poly
name "shadow"
data 6
shadow
texture "shadow.png"
texrep 1 1
crease 30.000000
numvert 4
4.085 -1.134804 -5.309997
4.085 -1.134804 5.31
-4.085 -1.134804 5.309999
-4.084998 -1.134804 -5.31
numsurf 1
SURF 0x00
mat 1
refs 4
0 0.999999880791 3.23365071608e-07
3 3.63304479833e-07 0.0
2 0.0 0.999999880791
1 0.999999761581 1.0
kids 0

--- NEW BINARY FILE "shadow.png" ---

--- NEW FILE "shadow.xml" ---
<?xml version="1.0"?>

<PropertyList>

  <path>shadow.ac</path>

  <animation>
    <!-- Objets opaques -->

    <!-- Objets transparents -->
    <object-name>shadow</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>shadow</object-name>
  </animation>

  <!-- Une ombre pour OSG en attendant mieux ;) basé sur l'ombre du DC 3-->
  <!-- pitch -->
  <animation>
    <type>rotate</type>
    <object-name>shadow</object-name>
    <property>/orientation/pitch-deg</property>
    <factor> -1 </factor>
    <center>
      <x-m> 0 </x-m>
      <y-m> 0 </y-m>
      <z-m> 0 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- roll -->
  <animation>
    <type>rotate</type>
    <object-name>shadow</object-name>
    <property>/orientation/roll-deg</property>
    <factor> 1 </factor>
    <center>
      <x-m> 0 </x-m>
      <y-m> 0 </y-m>
      <z-m> 0 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Translate to ground level -->
  <animation>
   <type>translate</type>
   <object-name>shadow</object-name>
   <property>/position/gear-agl-ft</property>
   <factor> -0.3 </factor>
   <center>
     <x-m> 0 </x-m>
     <y-m> 0 </y-m>
     <z-m> 0 </z-m>
   </center>
   <axis>
     <x> 0 </x>
     <y> 0 </y>
     <z> 1 </z>
   </axis>
 </animation>

</PropertyList>


--- NEW BINARY FILE "texture.png" ---

--- NEW BINARY FILE "texture.xcf.gz" ---



--===============6415029219138099270==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--===============6415029219138099270==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Flightgear-cvslogs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs

--===============6415029219138099270==--