CVS: data/Aircraft/Lockheed-NF104A/Models shadow.ac, NONE, 1.1 shadow.png, NONE, 1.1 shadow.xml, NONE, 1.1 nf104a.ac, 1.1, 1.2 nf104a.xml, 1.1, 1.2
Emmanuel Baranger <[email protected]>
| Newsgroups | gmane.games.flightgear.cvc |
|---|---|
| Message-ID | <[email protected]> |
Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-NF104A/Models
In directory baron.flightgear.org:/tmp/cvs-serv11715/Models
Modified Files:
nf104a.ac nf104a.xml
Added Files:
shadow.ac shadow.png shadow.xml
Log Message:
- new update
--- 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
7.930337 -1.84435 -3.674469
7.930337 -1.84435 3.67447
-9.131569 -1.84435 3.674469
-9.131565 -1.84435 -3.674471
numsurf 1
SURF 0x00
mat 1
refs 4
0 1.0 0.999999642372
3 2.23579775138e-07 1.0
2 0.0 2.59540570369e-07
1 0.999999880791 0.0
kids 0
--- NEW BINARY FILE "shadow.png" ---
--- NEW FILE "shadow.xml" ---
<?xml version="1.0" encoding="UTF-8"?>
<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.0</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.0</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>
Index: nf104a.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-NF104A/Models/nf104a.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nf104a.ac 1 Oct 2009 13:57:00 -0000 1.1
+++ nf104a.ac 28 Mar 2010 12:12:08 -0000 1.2
@@ -1,9 +1,10 @@
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 "ac3dmat1.001" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 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.5
OBJECT world
-kids 29
+kids 36
OBJECT poly
name "aerofreinD"
data 10
[...34341 lines suppressed...]
+mat 3
refs 4
74 0.900245368481 0.574562370777
76 0.843548715115 0.700283586979
87 0.86613792181 0.736468791962
81 0.930969357491 0.670720219612
SURF 0x10
-mat 2
+mat 3
refs 4
88 0.965484678745 0.600780248642
79 0.963858366013 0.421605139971
74 0.900245368481 0.574562370777
81 0.930969357491 0.670720219612
SURF 0x10
-mat 2
+mat 3
refs 4
84 1.0 0.530840396881
80 0.994626700878 0.32022228837
Index: nf104a.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-NF104A/Models/nf104a.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nf104a.xml 1 Oct 2009 13:57:00 -0000 1.1
+++ nf104a.xml 28 Mar 2010 12:12:12 -0000 1.2
@@ -30,6 +30,11 @@
<object-name>entreeair</object-name>
<object-name>aerofreinG</object-name>
<object-name>aerofreinD</object-name>
+ <object-name>axeAH</object-name>
+ <object-name>axeAB</object-name>
+ <object-name>articuleH</object-name>
+ <object-name>articuleB</object-name>
+ <object-name>lampeA</object-name>
<object-name>roueA</object-name>
<object-name>roueG</object-name>
<object-name>roueD</object-name>
@@ -42,6 +47,7 @@
<!-- Objets transparents -->
<object-name>vitres</object-name>
<object-name>canopytrans</object-name>
+ <object-name>lampeATR</object-name>
</animation>
<animation>
@@ -50,12 +56,14 @@
<texture>glass_shader.png</texture>
<object-name>vitres</object-name>
<object-name>canopytrans</object-name>
+ <object-name>lampeATR</object-name>
</animation>
<animation>
<type>noshadow</type>
<object-name>vitres</object-name>
<object-name>canopytrans</object-name>
+ <object-name>lampeATR</object-name>
</animation>
<animation>
@@ -75,6 +83,11 @@
<object-name>entreeair</object-name>
<object-name>aerofreinG</object-name>
<object-name>aerofreinD</object-name>
+ <object-name>axeAH</object-name>
+ <object-name>axeAB</object-name>
+ <object-name>articuleH</object-name>
+ <object-name>articuleB</object-name>
+ <object-name>lampeA</object-name>
<object-name>roueA</object-name>
<object-name>roueG</object-name>
<object-name>roueD</object-name>
@@ -128,6 +141,23 @@
</offsets>
</model>
+ <!-- Une ombre pour OSG -->
+ <model>
+ <name>shadowOSG</name>
+ <path>Aircraft/Lockheed-NF104A/Models/shadow.xml</path>
+ </model>
+
+ <animation>
+ <type>select</type>
+ <object-name>shadowOSG</object-name>
+ <condition>
+ <equals>
+ <property>sim[0]/rendering/shadows-ac</property>
+ <value>true</value>
+ </equals>
+ </condition>
+ </animation>
+
<!-- Ailerons -->
<animation>
<type>rotate</type>
@@ -280,11 +310,38 @@
</axis>
</animation>
+ <!-- Compression -->
+ <animation>
+ <name>ToutA</name>
+ <object-name>roueA</object-name>
+ <object-name>axeAB</object-name>
+ </animation>
+
+ <animation>
+ <type>translate</type>
+ <object-name>ToutA</object-name>
+ <property>gear/gear[0]/compression-norm</property>
+ <interpolation>
+ <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
+ <entry><ind> 1 </ind><dep> 0.3 </dep></entry>
+ </interpolation>
+ <axis>
+ <x> 0 </x>
+ <y> 0 </y>
+ <z> 1 </z>
+ </axis>
+ </animation>
+
<!-- Rentrée des roues -->
<animation>
<name>TrainAvant</name>
- <object-name>axeA</object-name>
+ <object-name>axeAH</object-name>
+ <object-name>axeAB</object-name>
+ <object-name>articuleH</object-name>
+ <object-name>articuleB</object-name>
<object-name>roueA</object-name>
+ <object-name>lampeA</object-name>
+ <object-name>lampeATR</object-name>
</animation>
<animation>
@@ -478,6 +535,86 @@
</axis>
</animation>
+ <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
+ <animation>
+ <name>RoueAvant</name>
+ <object-name>axeAB</object-name>
+ <object-name>articuleH</object-name>
+ <object-name>articuleB</object-name>
+ <object-name>roueA</object-name>
+ <object-name>lampeA</object-name>
+ <object-name>lampeATR</object-name>
+ </animation>
+
+ <animation>
+ <type>rotate</type>
+ <object-name>RoueAvant</object-name>
+ <property>/surface-positions/rudder-pos-norm</property>
+ <factor> 25 </factor>
+ <center>
+ <x-m> -2.741 </x-m>
+ <y-m> 0.000 </y-m>
+ <z-m> -1.245 </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>roueA</object-name>
+ <property>/gear/gear[0]/rollspeed-ms</property>
+ <factor> 30 </factor>
+ <center>
+ <x-m> -2.741 </x-m>
+ <y-m> 0.000 </y-m>
+ <z-m> -1.921 </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> 1.753 </x-m>
+ <y-m> -1.363 </y-m>
+ <z-m> -1.887 </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[1]/rollspeed-ms</property>
+ <factor> 30 </factor>
+ <center>
+ <x-m> 1.753 </x-m>
+ <y-m> 1.363 </y-m>
+ <z-m> -1.887 </z-m>
+ </center>
+ <axis>
+ <x> 0 </x>
+ <y> -1 </y>
+ <z> 0 </z>
+ </axis>
+ </animation>
+
<!-- Canopy -->
<animation>
<name>CanopyTotale</name>
@@ -500,4 +637,100 @@
</axis>
</animation>
+ <!-- Ajout des effets lumineux
+ <model>
+ <path>Aircraft/Lockheed-NF104A/Models/light/beacon.xml</path>
+ <offsets>
+ <x-m> 0.708 </x-m>
+ <y-m> 0.000 </y-m>
+ <z-m> 0.527 </z-m>
+ </offsets>
+ </model>
+
+ <model>
+ <path>Aircraft/Lockheed-NF104A/Models/light/RedLight.xml</path>
+ <offsets>
+ <x-m> -1.297 </x-m>
+ <y-m> -4.353 </y-m>
+ <z-m> 0.005 </z-m>
+ </offsets>
+ </model>
+
+ <model>
+ <path>Aircraft/Lockheed-NF104A/Models/light/GreenLight.xml</path>
+ <offsets>
+ <x-m> -1.297 </x-m>
+ <y-m> 4.353 </y-m>
+ <z-m> 0.005 </z-m>
+ </offsets>
+ </model>
+
+ <model>
+ <path>Aircraft/Lockheed-NF104A/Models/light/StrobeWhite.xml</path>
+ <offsets>
+ <x-m> -1.297 </x-m>
+ <y-m> -4.253 </y-m>
+ <z-m> 0.005 </z-m>
+ </offsets>
+ </model>
+
+ <model>
+ <path>Aircraft/Lockheed-NF104A/Models/light/StrobeWhite.xml</path>
+ <offsets>
+ <x-m> -1.297 </x-m>
+ <y-m> 4.253 </y-m>
+ <z-m> 0.005 </z-m>
+ </offsets>
+ </model>
+
+ <model>
+ <name>NozeGear</name>
+ <path>Aircraft/Lockheed-NF104A/Models/light/WhiteLight.xml</path>
+ <offsets>
+ <x-m> -2.574 </x-m>
+ <y-m> 0.074 </y-m>
+ <z-m> -0.643 </z-m>
+ </offsets>
+ </model> -->
+
+ <!-- Gear light cone -->
+ <model>
+ <name>Taxi-Light</name>
+ <path>Aircraft/Lockheed-NF104A/Models/light/light-cone.xml</path>
+ <offsets>
+ <x-m> -2.805 </x-m>
+ <y-m> -0.117 </y-m>
+ <z-m> -1.499 </z-m>
+ <pitch-deg> -5 </pitch-deg>
+ </offsets>
+ </model>
+
+ <animation>
+ <type>select</type>
+ <object-name>Taxi-Light</object-name>
+ <condition>
+ <equals>
+ <property>gear/gear[0]/position-norm</property>
+ <value> 1 </value>
+ </equals>
+ </condition>
+ </animation>
+
+ <animation>
+ <type>rotate</type>
+ <object-name>Taxi-Light</object-name>
+ <property>/surface-positions/rudder-pos-norm</property>
+ <factor> 25 </factor>
+ <center>
+ <x-m> -2.741 </x-m>
+ <y-m> 0.000 </y-m>
+ <z-m> -1.245 </z-m>
+ </center>
+ <axis>
+ <x> 0 </x>
+ <y> 0 </y>
+ <z> 1 </z>
+ </axis>
+ </animation>
+
</PropertyList>
------------------------------------------------------------------------------
Download Intel® 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
_______________________________________________
Flightgear-cvslogs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs