CVS: data/Aircraft/Pterodactyl/Models prop.png, NONE, 1.1 pterodactyl.ac, NONE, 1.1 pterodactyl.xml, 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]> Sun, 2 May 2010 12:02:51 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
--===============5031851768567962684==

Update of /var/cvs/FlightGear-0.9/data/Aircraft/Pterodactyl/Models
In directory baron.flightgear.org:/tmp/cvs-serv25398/Models

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

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

--- NEW FILE "pterodactyl.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 "gloss" rgb 0.2 0.2 0.2 amb 0 0 0 emis 0 0 0 spec 0.110345 0.014746 0.014746 shi 14 trans 0.6
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
OBJECT world
kids 23
OBJECT poly
name "ailes"
data 5
ailes
texture "texture.png"
texrep 1 1
crease 30.000000
numvert 614
2.187797 1.117719 7.012674
2.186224 1.108315 7.012684
2.187355 1.098332 7.012698
2.142754 1.012834 4.635576
[...96722 lines suppressed...]
kids 0
OBJECT poly
name "vitres"
data 6
vitres
crease 30.000000
numvert 4
0.640984 1.000666 0.120614
0.573459 0.74762 0.202159
0.573459 0.74762 -0.202159
0.640984 1.000666 -0.120614
numsurf 1
SURF 0x10
mat 3
refs 4
0 0.798315167427 1.0
3 0.201685801148 1.0
2 0.0 9.42191377362e-07
1 1.0 0.0
kids 0

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

<PropertyList>

  <path>pterodactyl.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>roueA1</object-name>
    <object-name>roueA2</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>structure</object-name>
    <object-name>ailes</object-name>
    <object-name>elevonG</object-name>
    <object-name>elevonD</object-name>
    <object-name>ailes2</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>bol</object-name>
    <object-name>helice</object-name>
    <object-name>trous</object-name>
    <object-name>tourvitres</object-name>
    <object-name>air</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>vitres</object-name>
    <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>roueA1</object-name>
    <object-name>roueA2</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>structure</object-name>
    <object-name>ailes</object-name>
    <object-name>elevonG</object-name>
    <object-name>elevonD</object-name>
    <object-name>ailes2</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>bol</object-name>
    <object-name>helice</object-name>
    <object-name>trous</object-name>
    <object-name>air</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>

  <!-- Une ombre pour OSG -->
  <model>
    <name>shadowOSG</name>
    <path>Aircraft/Pterodactyl/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/Pterodactyl/Models/Interior/interior.xml</path>
    <offsets>
      <x-m> 0 </x-m>
      <y-m> 0 </y-m>
      <z-m> 0 </z-m>
    </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> -2.865 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.079 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Animations des elevons -->
  <animation>
    <type>rotate</type>
    <object-name>elevonG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  2.441 </x1-m>
      <y1-m> -6.984 </y1-m>
      <z1-m>  1.104 </z1-m>
      <x2-m>  1.323 </x2-m>
      <y2-m> -4.636 </y2-m>
      <z2-m>  1.109 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>elevonD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 1.323 </x1-m>
      <y1-m> 4.636 </y1-m>
      <z1-m> 1.109 </z1-m>
      <x2-m> 2.441 </x2-m>
      <y2-m> 6.984 </y2-m>
      <z2-m> 1.104 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>elevonG</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  2.441 </x1-m>
      <y1-m> -6.984 </y1-m>
      <z1-m>  1.104 </z1-m>
      <x2-m>  1.323 </x2-m>
      <y2-m> -4.636 </y2-m>
      <z2-m>  1.109 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>elevonD</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 1.323 </x1-m>
      <y1-m> 4.636 </y1-m>
      <z1-m> 1.109 </z1-m>
      <x2-m> 2.441 </x2-m>
      <y2-m> 6.984 </y2-m>
      <z2-m> 1.104 </z2-m>
    </axis>
  </animation>

  <!-- Animation des gouvernes de direction -->
  <animation>
    <type>rotate</type>
    <object-name>directionG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 10 </factor>
    <center>
      <x-m>  2.503 </x-m>
      <y-m> -7.031 </y-m>
      <z-m>  1.083 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>directionD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 10 </factor>
    <center>
      <x-m> 2.503 </x-m>
      <y-m> 7.031 </y-m>
      <z-m> 1.083 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>
  
  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>roueA1</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -10 </factor>
    <center>
      <x-m> -1.385 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.514 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA1</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.385 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.514 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueA2</object-name>
    <property>gear/gear[1]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.100 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.204 </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[2]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m>  2.792 </x-m>
      <y-m> -2.980 </y-m>
      <z-m> -0.889 </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[3]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m>  2.792 </x-m>
      <y-m>  2.980 </y-m>
      <z-m> -0.889 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>


--- 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.003" 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
3.09047 -1.508168 -7.055709
3.09047 -1.508168 7.055713
-3.09047 -1.508168 7.055711
-3.090469 -1.508168 -7.055713
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" ---



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

------------------------------------------------------------------------------

--===============5031851768567962684==
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

--===============5031851768567962684==--