CVS: data/Aircraft/Lightning/Models lightning-model.xml, 1.20, 1.21

Vivian Meazza <[email protected]>
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lightning/Models
In directory baron.flightgear.org:/tmp/cvs-serv23291

Modified Files:
	lightning-model.xml 
Log Message:
Use reflection effect - needs this patch ftp://ftp.abbeytheatre2.org.uk/fgfs/Shader/Reflect/cube-map.patch which will be included in Simgear soon (hopefully).

Index: lightning-model.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Lightning/Models/lightning-model.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- lightning-model.xml	27 Mar 2010 08:42:34 -0000	1.20
+++ lightning-model.xml	29 Mar 2010 09:34:33 -0000	1.21
@@ -494,10 +494,9 @@
 	<!-- Model Animations -->
 
 	<!-- Chrome animation, courtesy of Vivian  -->
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>uc_fr_door_rear</object-name>
 		<object-name>uc_fr_door_stbd</object-name>
 		<object-name>uc_fr_door_port</object-name>
@@ -513,12 +512,11 @@
 		<object-name>aux_intake_stbd_bottom</object-name>
 		<object-name>airbrake_port</object-name>
 		<object-name>airbrake_stbd</object-name>
-	</animation>
+	</effect>
 
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>ventral_tank</object-name>
 		<object-name>ventral_fin</object-name>
 		<object-name>main_fuselage</object-name>
@@ -535,37 +533,29 @@
 		<object-name>uc_fr_well</object-name>
 		<object-name>pitot_probe</object-name>
 		<object-name>flap_hinges</object-name>
-	</animation>
+	</effect>
 
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>tailplane_port</object-name>
 		<object-name>tailplane_stbd</object-name>
-	</animation>
+	</effect>
 
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>aileron_stbd</object-name>
-	</animation>
+	</effect>
 
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>aileron_port</object-name>
-	</animation>
+	</effect>
 
-	<animation>
-		<type>shader</type>
-		<shader>chrome</shader>
-		<texture>chrome2.rgb</texture>
+	<effect>
+		<inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from>
 		<object-name>flap_stbd</object-name>
 		<object-name>flap_port</object-name>
-	</animation>
+	</effect>
 
 
 	<!-- Surface Animations -->


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