CVS: data/Aircraft/Vickers-Vimy/Models shadow.ac, NONE, 1.1 shadow.png, NONE, 1.1 shadow.xml, NONE, 1.1 vimy.ac, 1.5, 1.6 vimy.xml, 1.5, 1.6

Emmanuel Baranger <[email protected]>
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Aircraft/Vickers-Vimy/Models
In directory baron.flightgear.org:/tmp/cvs-serv5591/Models

Modified Files:
	vimy.ac vimy.xml 
Added Files:
	shadow.ac shadow.png shadow.xml 
Log Message:
- little 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
6.621865 -1.68 -10.365732
6.621865 -1.68 10.365736
-6.678657 -1.68 10.365734
-6.678654 -1.68 -10.365737
numsurf 1
SURF 0x00
mat 1
refs 4
0 1.0 0.999999701977
3 3.58510050091e-07 1.0
2 0.0 1.38003841244e-07
1 0.999999821186 0.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>


Index: vimy.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Vickers-Vimy/Models/vimy.ac,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vimy.ac	22 Jun 2009 23:05:20 -0000	1.5
+++ vimy.ac	30 Mar 2010 19:51:45 -0000	1.6
@@ -2,7 +2,7 @@
 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 "nospec" rgb 1 1 1 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0.5
+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 41
 OBJECT poly
@@ -175,896 +175,896 @@
 -0.511607 -0.046463 -0.268239
 numsurf 128
[...4801 lines suppressed...]
+mat 1
+refs 4
+46 0.0381886214018 0.0553944706917
+48 0.0381886214018 0.0610359311104
+51 0.0381886214018 0.0702949762344
+52 0.0381886214018 0.0646713972092
+SURF 0x10
+mat 1
+refs 4
+52 0.0381886214018 0.0646713972092
+51 0.0381886214018 0.0702949762344
+45 0.0381886214018 0.0701488852501
+50 0.0381886214018 0.0654782652855
+SURF 0x10
+mat 1
+refs 3
+53 0.053761407733 0.060283780098
+55 0.0537614375353 0.0561454296112
+47 0.0876388400793 0.0582146048546
+kids 0

Index: vimy.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Vickers-Vimy/Models/vimy.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vimy.xml	22 Sep 2008 09:51:20 -0000	1.5
+++ vimy.xml	30 Mar 2010 19:53:01 -0000	1.6
@@ -40,6 +40,8 @@
     <object-name>essieus</object-name>
     <object-name>entreroues</object-name>
     <object-name>marches</object-name>
+    <object-name>axes</object-name>
+    <object-name>trous</object-name>
 
     <!-- Objets transparents -->
     <object-name>cables</object-name>
@@ -88,6 +90,8 @@
     <object-name>essieus</object-name>
     <object-name>entreroues</object-name>
     <object-name>marches</object-name>
+    <object-name>axes</object-name>
+    <object-name>trous</object-name>
 
     <property-base>sim/model/livery</property-base>
     <texture-prop>texture</texture-prop>
@@ -123,6 +127,23 @@
 -->
   </animation>
 
+  <!-- Une ombre pour OSG -->
+  <model>
+    <name>shadowOSG</name>
+    <path>Aircraft/Vickers-Vimy/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/Vickers-Vimy/Models/Interior/interior.xml</path>

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

_______________________________________________
Flightgear-cvslogs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.