CVS: data/Aircraft/DH-88/Models/lights StrobeWhite.xml, NONE, 1.1 WhiteLight.ac, NONE, 1.1 WhiteLight.xml, NONE, 1.1 light-cone.ac, NONE, 1.1 light-cone.xml, NONE, 1.1 light-gradient-lamp.png, NONE, 1.1 GreenLight.ac, 1.1, 1.2 GreenLight.xml, 1.2, 1.3 RedLight.ac, 1.1, 1.2 RedLight.xml, 1.2, 1.3 beacon.xml, 1.2, 1.3

Emmanuel Baranger <[email protected]> Fri, 9 Apr 2010 18:20:13 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights
In directory baron.flightgear.org:/tmp/cvs-serv25653/Models/lights

Modified Files:
	GreenLight.ac GreenLight.xml RedLight.ac RedLight.xml 
	beacon.xml 
Added Files:
	StrobeWhite.xml WhiteLight.ac WhiteLight.xml light-cone.ac 
	light-cone.xml light-gradient-lamp.png 
Log Message:
- little update on FDM (thanks to Melchior for the YASim_import script)

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

<PropertyList>

  <path>WhiteLight.ac</path>

  <animation>
    <type>noshadow</type>
    <object-name>Light</object-name>
  </animation>

  <animation>
    <type>alpha-test</type>
    <alpha-factor>0.01</alpha-factor>
  </animation>

  <animation>
    <type>billboard</type>
    <object-name>Light</object-name>
    <spherical type="bool">true</spherical>
  </animation>

  <animation>
    <type>select</type>
    <object-name>Light</object-name>
    <condition>
      <property>/sim/model/lights/sbc1/state</property>
    </condition>
  </animation>

  <animation>
    <type>material</type>
    <object-name>Light</object-name>
    <emission>
      <red>   1.0 </red>
      <green> 1.0 </green>
      <blue>  1.0 </blue>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
    </emission>
  </animation>

  <animation>
    <type>dist-scale</type>
    <object-name>Light</object-name>
    <interpolation>
      <entry><ind>    0 </ind><dep> 0.25 </dep></entry>
      <entry><ind>   20 </ind><dep> 0.50 </dep></entry>
      <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
    </interpolation>
  </animation>

</PropertyList>

--- NEW FILE "WhiteLight.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 "Light"
data 4
Mesh
texture "lights.png"
texrep 1 1
crease 45.000000
numvert 12
0.5 0.5 0
-0.5 0.5 0
-0.5 -0.5 0
0.5 -0.5 0
0 -0.5 -0.5
0 -0.5 0.5
0 0.5 0.5
0 0.5 -0.5
0.5 0 -0.5
-0.5 0 -0.5
-0.5 0 0.5
0.5 0 0.5
numsurf 3
SURF 0x20
mat 1
refs 4
0 0.943492412567 0.942461967468
1 0.558069348335 0.942461848259
2 0.558069348335 0.557038784027
3 0.943492412567 0.557038784027
SURF 0x20
mat 1
refs 4
7 0.943492531776 0.557038843632
6 0.943492531776 0.942461967468
5 0.558069348335 0.942461967468
4 0.558069348335 0.557038784027
SURF 0x20
mat 1
refs 4
11 0.943492531776 0.942461967468
10 0.558069467545 0.942461967468
9 0.558069348335 0.557038843632
8 0.943492531776 0.557038784027
kids 0

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

<PropertyList>

  <path>WhiteLight.ac</path>

  <animation>
    <type>noshadow</type>
    <object-name>Light</object-name>
  </animation>

  <animation>
    <type>alpha-test</type>
    <alpha-factor>0.01</alpha-factor>
  </animation>

  <animation>
    <type>billboard</type>
    <object-name>Light</object-name>
    <spherical type="bool">true</spherical>
  </animation>

  <animation>
    <type>material</type>
    <object-name>Light</object-name>
    <emission>
      <red>   1.0 </red>
      <green> 1.0 </green>
      <blue>  1.0 </blue>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
    </emission>
  </animation>

  <animation>
    <type>dist-scale</type>
    <object-name>Light</object-name>
    <interpolation>
      <entry><ind>    0 </ind><dep> 0.25 </dep></entry>
      <entry><ind>   20 </ind><dep> 0.50 </dep></entry>
      <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
    </interpolation>
  </animation>

</PropertyList>

--- NEW FILE "light-cone.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 "lightcone" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 1 0.969 0.847 shi 64 trans 0.808
MATERIAL "lightcone2" rgb 0 0 0 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 60 trans 0.804
MATERIAL "light" rgb 0.2 0.2 0.2 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 128 trans 0
OBJECT world
kids 3
OBJECT poly
name "Cone"
data 4
Cone
crease 45.000000
numvert 193
-49.622601 0 1e-06
-39.9361 1.2e-05 8.1675
-39.9361 -1.59339 8.0106
-39.9361 -3.12555 7.54583
-39.9361 -4.537601 6.79103
-39.9361 -5.77528 5.7753
[...3229 lines suppressed...]
32 0.5 0.527458012104
SURF 0x10
mat 3
refs 3
29 0.915733993053 0.245857998729
30 0.961937010288 0.333485990763
32 0.5 0.527458012104
SURF 0x10
mat 3
refs 3
30 0.961937010288 0.333485990763
31 0.990395009518 0.428577005863
32 0.5 0.527458012104
SURF 0x10
mat 3
refs 3
31 0.990395009518 0.428577005863
0 1.0 0.527458012104
32 0.5 0.527458012104
kids 0

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

<PropertyList>

  <path>light-cone.ac</path>

  <effect>
    <inherits-from>Effects/light-cone</inherits-from>
    <object-name>Cone</object-name>
  </effect>
  
 </PropertyList>

--- NEW BINARY FILE "light-gradient-lamp.png" ---

Index: GreenLight.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights/GreenLight.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- GreenLight.ac	23 Jun 2008 00:08:10 -0000	1.1
+++ GreenLight.ac	9 Apr 2010 23:19:51 -0000	1.2
@@ -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 "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 10 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

Index: GreenLight.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights/GreenLight.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GreenLight.xml	2 Mar 2009 16:46:16 -0000	1.2
+++ GreenLight.xml	9 Apr 2010 23:19:52 -0000	1.3
@@ -21,29 +21,23 @@
   </animation>
 
   <animation>
-    <type>select</type>
+    <type>material</type>
     <object-name>Light</object-name>
-    <condition>
-      <property>/sim/model/lights/sbc1/state</property>
-    </condition>
+    <emission>
+      <red>   1.0 </red>
+      <green> 1.0 </green>
+      <blue>  1.0 </blue>
+      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
+    </emission>
   </animation>
 
   <animation>
     <type>dist-scale</type>
     <object-name>Light</object-name>
     <interpolation>
-      <entry>
-        <ind>0</ind>
-        <dep>0.25</dep>
-      </entry>
-      <entry>
-        <ind>20</ind>
-        <dep>0.5</dep>
-      </entry>
-      <entry>
-        <ind>1500</ind>
-        <dep>5</dep>
-      </entry>
+      <entry><ind>    0 </ind><dep> 0.25 </dep></entry>
+      <entry><ind>   20 </ind><dep> 0.50 </dep></entry>
+      <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
     </interpolation>
   </animation>
 

Index: RedLight.ac
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights/RedLight.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RedLight.ac	23 Jun 2008 00:08:10 -0000	1.1
+++ RedLight.ac	9 Apr 2010 23:19:53 -0000	1.2
@@ -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 "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 10 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
@@ -27,22 +27,22 @@
 SURF 0x20
 mat 1
 refs 4
-0 0.442211866379 0.43821194768
-1 0.0567888170481 0.438211858273
-2 0.0567888170481 0.0527888052166
-3 0.442211866379 0.0527887605131
+0 0.448961138725 0.442461937666
+1 0.0635380744934 0.442461848259
+2 0.0635380744934 0.0570387989283
+3 0.448961138725 0.0570387542248
 SURF 0x20
 mat 1
 refs 4
-7 0.442211985588 0.0527888350189
-6 0.442211985588 0.43821194768
-5 0.0567888170481 0.43821194768
-4 0.0567888170481 0.0527887605131
+7 0.448961257935 0.0570388287306
+6 0.448961257935 0.442461937666
+5 0.0635380744934 0.442461937666
+4 0.0635380744934 0.0570387542248
 SURF 0x20
 mat 1
 refs 4
-11 0.442211985588 0.43821194768
-10 0.0567889362574 0.43821194768
-9 0.0567888170481 0.0527888350189
-8 0.442211985588 0.0527887605131
+11 0.448961257935 0.442461937666
+10 0.0635381937027 0.442461937666
+9 0.0635380744934 0.0570388287306
+8 0.448961257935 0.0570387542248
 kids 0

Index: RedLight.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights/RedLight.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RedLight.xml	2 Mar 2009 16:46:16 -0000	1.2
+++ RedLight.xml	9 Apr 2010 23:19:54 -0000	1.3
@@ -21,29 +21,23 @@
   </animation>
 
   <animation>
-    <type>select</type>
+    <type>material</type>
     <object-name>Light</object-name>
-    <condition>
-      <property>/sim/model/lights/sbc1/state</property>
-    </condition>
+    <emission>
+      <red>   1.0 </red>
+      <green> 1.0 </green>
+      <blue>  1.0 </blue>
+      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
+    </emission>
   </animation>
 
   <animation>
     <type>dist-scale</type>
     <object-name>Light</object-name>
     <interpolation>
-      <entry>
-        <ind>0</ind>
-        <dep>0.25</dep>
-      </entry>
-      <entry>
-        <ind>20</ind>
-        <dep>0.5</dep>
-      </entry>
-      <entry>
-        <ind>1500</ind>
-        <dep>5</dep>
-      </entry>
+      <entry><ind>    0 </ind><dep> 0.25 </dep></entry>
+      <entry><ind>   20 </ind><dep> 0.50 </dep></entry>
+      <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
     </interpolation>
   </animation>
 

Index: beacon.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/DH-88/Models/lights/beacon.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- beacon.xml	2 Mar 2009 16:46:16 -0000	1.2
+++ beacon.xml	9 Apr 2010 23:20:00 -0000	1.3
@@ -29,21 +29,23 @@
   </animation>
 
   <animation>
+    <type>material</type>
+    <object-name>Light</object-name>
+    <emission>
+      <red>   1.0 </red>
+      <green> 1.0 </green>
+      <blue>  1.0 </blue>
+      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
+    </emission>
+  </animation>
+
+  <animation>
     <type>dist-scale</type>
     <object-name>Light</object-name>
     <interpolation>
-      <entry>
-        <ind>0</ind>
-        <dep>0.25</dep>
-      </entry>
-      <entry>
-        <ind>20</ind>
-        <dep>0.5</dep>
-      </entry>
-      <entry>
-        <ind>1500</ind>
-        <dep>5</dep>
-      </entry>
+      <entry><ind>    0 </ind><dep> 0.25 </dep></entry>
+      <entry><ind>   20 </ind><dep> 0.50 </dep></entry>
+      <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
     </interpolation>
   </animation>
 


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