CVS: data/Aircraft/Skyvan/Models shadow.ac, NONE, 1.1 shadow.png, NONE, 1.1 shadow.xml, NONE, 1.1 skyvan.ac, 1.4, 1.5 skyvan.xml, 1.2, 1.3

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

Modified Files:
	skyvan.ac skyvan.xml 
Added Files:
	shadow.ac shadow.png shadow.xml 
Log Message:
- new splash screen by Michat. Thanks to him
- 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
6.042708 -2.20841 -9.87817
6.042708 -2.20841 9.878172
-6.054664 -2.20841 9.87817
-6.05466 -2.20841 -9.878174
numsurf 1
SURF 0x00
mat 1
refs 4
0 1.0 0.999999761581
3 4.33582414416e-07 1.0
2 0.0 1.93087174694e-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: skyvan.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Skyvan/Models/skyvan.ac,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- skyvan.ac	16 Apr 2009 22:20:44 -0000	1.4
+++ skyvan.ac	31 Mar 2010 17:49:34 -0000	1.5
@@ -3,7 +3,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 "transparent" rgb 0.702915 0.765364 0.838746 amb 1 1 1 emis 0 0 0 spec 0.62186 0.677107 0.742028 shi 64 trans 0.7
 OBJECT world
-kids 37
+kids 38
 OBJECT poly
 name "Cylinder.005"
 data 12
@@ -3544,3595 +3544,3557 @@
 numvert 0
 numsurf 0
[...52251 lines suppressed...]
 mat 1
 refs 3
-760 0.606056451797 0.170163109899
-757 0.608221054077 0.170163109899
-758 0.608045935631 0.170163109899
+454 0.906175553799 0.341289013624
+453 0.906175553799 0.335557103157
+456 0.906175553799 0.322869747877
 SURF 0x10
 mat 1
 refs 3
-760 0.606056451797 0.170163109899
-758 0.608045935631 0.170163109899
-759 0.607748448849 0.170163109899
+456 0.906175553799 0.322869747877
+455 0.906175553799 0.346312999725
+454 0.906175553799 0.341289013624
 kids 0
 OBJECT poly
 name "vitreD"

Index: skyvan.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Skyvan/Models/skyvan.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- skyvan.xml	12 Jan 2009 15:37:29 -0000	1.2
+++ skyvan.xml	31 Mar 2010 17:49:36 -0000	1.3
@@ -40,6 +40,7 @@
     <object-name>porteD</object-name>
     <object-name>axeA</object-name>
     <object-name>axes</object-name>
+    <object-name>trous</object-name>
 
     <!-- Transparence -->
     <object-name>vitres</object-name>
@@ -51,15 +52,15 @@
     <object-name>vitreD</object-name>
   </animation>
 
-  <animation>
-    <type>shader</type>
-    <shader>chrome</shader>
-    <texture>glass_shader.png</texture>
+  <animation>
+    <type>shader</type>
+    <shader>chrome</shader>
+    <texture>Aircraft/Generic/Effects/CubeCrosses/blue_sky_tx.png</texture>
     <object-name>vitres</object-name>
     <object-name>vitreG</object-name>
     <object-name>vitreD</object-name>
-  </animation>
-
+  </animation>
+
   <animation>
     <type>noshadow</type>
     <object-name>vitres</object-name>
@@ -99,6 +100,7 @@
     <object-name>porteD</object-name>
     <object-name>axeA</object-name>
     <object-name>axes</object-name>
+    <object-name>trous</object-name>
 
     <property-base>sim/model/livery</property-base>
     <texture-prop>texture</texture-prop>
@@ -134,6 +136,23 @@
 -->
   </animation>
 
+  <!-- Une ombre pour OSG -->
+  <model>
+    <name>shadowOSG</name>
+    <path>Aircraft/Skyvan/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/Skyvan/Models/Interior/interior.xml</path>
@@ -576,14 +595,23 @@
       <z-m>  1.097 </z-m>
     </offsets>
   </model>
-<!--
+
   <model>
-    <path>Aircraft/Skyvan/Models/light/Whitelight.xml</path>
+    <path>Aircraft/Skyvan/Models/light/StrobeWhite.xml</path>
     <offsets>
-      <x-m> -2.574 </x-m>
-      <y-m>  0.074 </y-m>
-      <z-m> -0.643 </z-m>
+      <x-m> -1.742 </x-m>
+      <y-m> -9.879 </y-m>
+      <z-m>  1.097 </z-m>
     </offsets>
   </model>
--->
+
+  <model>
+    <path>Aircraft/Skyvan/Models/light/StrobeWhite.xml</path>
+    <offsets>
+      <x-m> -1.742 </x-m>
+      <y-m>  9.879 </y-m>
+      <z-m>  1.097 </z-m>
+    </offsets>
+  </model>
+
 </PropertyList>

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