CVS: data/Aircraft/21/Models shadow.ac, NONE, 1.1 shadow.png, NONE, 1.1 shadow.xml, NONE, 1.1 21.ac, 1.2, 1.3 21.xml, 1.2, 1.3
Emmanuel Baranger <[email protected]> Thu, 8 Apr 2010 12:33:57 -0500
| Newsgroups | gmane.games.flightgear.cvc |
|---|---|
| Message-ID | <[email protected]> |
Update of /var/cvs/FlightGear-0.9/data/Aircraft/21/Models
In directory baron.flightgear.org:/tmp/cvs-serv2995/Models
Modified Files:
21.ac 21.xml
Added Files:
shadow.ac shadow.png shadow.xml
Log Message:
- little update on FDM (thanks to Melchior for the YASim_import script)
--- 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
3.996196 -1.102501 -2.484634
3.996196 -1.102501 2.484635
-3.996196 -1.102501 2.484634
-3.996193 -1.102501 -2.484635
numsurf 1
SURF 0x00
mat 1
refs 4
0 0.999999940395 0.999999642372
3 3.50186326159e-07 1.0
2 0.0 1.85901427585e-07
1 0.999999761581 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: 21.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/21/Models/21.ac,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 21.ac 13 Mar 2009 17:10:20 -0000 1.2
+++ 21.ac 8 Apr 2010 17:33:44 -0000 1.3
@@ -1,6 +1,6 @@
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 "ac3dmat2.001" rgb 0.576 0.267 0.059 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.125 0.192 0.165 shi 4 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 "nospec" rgb 1 1 1 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0.5
OBJECT world
@@ -155,615 +155,615 @@
-1.353701 0.281267 -2.444062
numsurf 94
SURF 0x10
[...108513 lines suppressed...]
+mat 1
refs 4
307 0.376908838749 0.243535339832
309 0.376061499119 0.243535339832
333 0.375974237919 0.26166793704
332 0.376834690571 0.26166793704
SURF 0x10
-mat 0
+mat 1
refs 4
305 0.377941429615 0.243535339832
307 0.376908838749 0.243535339832
332 0.376834690571 0.26166793704
331 0.37788310647 0.26166793704
SURF 0x10
-mat 0
+mat 1
refs 4
305 0.377941429615 0.243535339832
331 0.37788310647 0.26166793704
Index: 21.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/21/Models/21.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- 21.xml 13 Mar 2009 17:10:21 -0000 1.2
+++ 21.xml 8 Apr 2010 17:33:49 -0000 1.3
@@ -58,6 +58,23 @@
<object-name>propblur</object-name>
</animation>
+ <!-- Une ombre pour OSG -->
+ <model>
+ <name>shadowOSG</name>
+ <path>Aircraft/21/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>
+
<!-- Pilote -->
<model>
<path>Aircraft/21/Models/Pilot/pilot.xml</path>
------------------------------------------------------------------------------
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