CVS: data/Aircraft/b29/Models dirt.png, NONE, 1.1 b29-model.xml, 1.10, 1.11

Vivian Meazza <[email protected]> Wed, 7 Apr 2010 17:18:44 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Aircraft/b29/Models
In directory baron.flightgear.org:/tmp/cvs-serv13426

Modified Files:
	b29-model.xml 
Added Files:
	dirt.png 
Log Message:
Add dirt effect

--- NEW BINARY FILE "dirt.png" ---

Index: b29-model.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/b29/Models/b29-model.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- b29-model.xml	5 Apr 2010 08:58:19 -0000	1.10
+++ b29-model.xml	7 Apr 2010 22:18:42 -0000	1.11
@@ -328,7 +328,7 @@
 	<type>shader</type>	  
    <shader>chrome</shader>
 	<name>CabinDetailChrome</name>
-	<!-- for some reason, fg is looking in Istruments for this file ... -->
+	 <!--for some reason, fg is looking in Istruments for this file ...--> 
    <texture>Aircraft/b29/Models/chrome2.rgb</texture>
    <object-name>PilotAshTray</object-name>
    <object-name>CoPilotAshTray</object-name>
@@ -4901,6 +4901,34 @@
 		<object-name>Blisters</object-name>
 	</effect>
 
+	<!-- Chrome -->
+	<effect>
+		<inherits-from>Effects/reflect</inherits-from>
+		<name>CabinDetailChrome</name>
+		<!-- for some reason, fg is looking in Istruments for this file ... -->
+		<object-name>PilotAshTray</object-name>
+		<object-name>CoPilotAshTray</object-name>
+		<object-name>ActionSwitch</object-name>
+		<object-name>EngHandle</object-name>
+	</effect>
+	
+	<!-- ========== Dirt textures ========= -->
+
+	<animation>
+		<type>material</type>
+		<object-name>Exhaust-Dirt</object-name>
+		<nopreview/>
+		<transparency>
+			<alpha-prop>sim/time/hobbs/engine[0]</alpha-prop>
+			<factor>0.00027</factor>
+			<offset>0</offset>
+			<max>0.7</max>
+			<min>0.0075</min>
+		</transparency>
+		<!--<threshold>0.001</threshold>-->
+	</animation>
+
+
 	<!--<model>
 		<path>Aircraft/b29/Models/Effects/tiptrail-tail-stbd.xml</path>
 		<name>tiptrail-s</name>


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