I've collected some patches for the Beechcraft 1900d. I've also sent
some to Syd Adams (the aircraft maintainer) about a month ago but he has
not yet got back to me. So I attach the patches here in case someone
wants to add them to fgdata.
What patches do:
- make instruments rembrandt compatible
- make chrome effect compatible with atmospheric light scattering
- make the callsign in the cockpit smaller
Regards
Cristian
diff --git a/Aircraft/b1900d/Models/Instruments/efis84-eadi.ac b/Aircraft/b1900d/Models/Instruments/efis84-eadi.ac
index 6fc2d31..09fe2e9 100644
--- a/Aircraft/b1900d/Models/Instruments/efis84-eadi.ac
+++ b/Aircraft/b1900d/Models/Instruments/efis84-eadi.ac
@@ -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 "pfd.002" rgb 0 0 0 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 72 trans 0
+MATERIAL "pfd.002" rgb 1 1 1 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 72 trans 0
MATERIAL "Gaugemetal" rgb 0.9 0.9 0.9 amb 0.9 0.9 0.9 emis 0.2 0.2 0.2 spec 0.779111 0.779111 0.779111 shi 45 trans 0
MATERIAL "Gaugemetal.001" rgb 0.901507 0.901507 0.901507 amb 0.901507 0.901507 0.901507 emis 0 0 0 spec 0.822223 0.822223 0.822223 shi 21 trans 0
MATERIAL "trans" rgb 0.901507 0.901507 0.901507 amb 0.901507 0.901507 0.901507 emis 0 0 0 spec 0.822223 0.822223 0.822223 shi 52 trans 0.8
diff --git a/Aircraft/b1900d/Models/Instruments/efis84-ehsi.ac b/Aircraft/b1900d/Models/Instruments/efis84-ehsi.ac
index 2864346..6844e50 100644
--- a/Aircraft/b1900d/Models/Instruments/efis84-ehsi.ac
+++ b/Aircraft/b1900d/Models/Instruments/efis84-ehsi.ac
@@ -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 "pfd.003" rgb 0 0 0 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 72 trans 0
+MATERIAL "pfd.003" rgb 1 1 1 amb 0 0 0 emis 1 1 1 spec 0 0 0 shi 72 trans 0
MATERIAL "Gaugemetal" rgb 0.9 0.9 0.9 amb 0.9 0.9 0.9 emis 0.2 0.2 0.2 spec 0.779111 0.779111 0.779111 shi 45 trans 0
OBJECT world
kids 18
diff --git a/Aircraft/b1900d/Models/Instruments/fdc.ac b/Aircraft/b1900d/Models/Instruments/fdc.ac
index ff7180c..6cd8ea1 100644
--- a/Aircraft/b1900d/Models/Instruments/fdc.ac
+++ b/Aircraft/b1900d/Models/Instruments/fdc.ac
@@ -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
MATERIAL "dimlit" rgb 0.371 0.371 0.371 amb 0.371 0.371 0.371 emis 0.679 0.55 0.387 spec 0.21 0.21 0.21 shi 0 trans 0
MATERIAL "illum.001" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 0.435 0.435 0.435 shi 0 trans 0
MATERIAL "Bezel" rgb 0.9 0.9 0.9 amb 0.9 0.9 0.9 emis 0 0 0 spec 0.547 0.547 0.547 shi 32 trans 0
-MATERIAL "pfd.001" rgb 0 0 0 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0
+MATERIAL "pfd.001" rgb 1 1 1 amb 0 0 0 emis 0 0 0 spec 0 0 0 shi 0 trans 0
OBJECT world
kids 27
OBJECT poly
diff --git a/Aircraft/b1900d/Models/Effects/chrome-parts.eff b/Aircraft/b1900d/Models/Effects/chrome-parts.eff
index f25c999..a686ee4 100644
--- a/Aircraft/b1900d/Models/Effects/chrome-parts.eff
+++ b/Aircraft/b1900d/Models/Effects/chrome-parts.eff
@@ -1,48 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
-
+<!--B1900d chrome effect. Reflection dynamic is on-->
<PropertyList>
- <name>Effects/chrome-parts</name>
- <inherits-from>Effects/reflect</inherits-from>
- <parameters>
- <texture n="5">
- <type>cubemap</type>
- <images>
- <positive-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png</positive-x>
- <negative-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png</negative-x>
- <positive-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png</positive-y>
- <negative-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png</negative-y>
- <positive-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png</positive-z>
- <negative-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png</negative-z>
- </images>
- </texture>
- <texture n="6">
- <image>Aircraft/Generic/Effects/Rainbow.png</image>
- <filter>linear-mipmap-linear</filter>
- <wrap-s>repeat</wrap-s>
- <wrap-t>repeat</wrap-t>
- <internal-format>normalized</internal-format>
- </texture>
- <texture n="7">
- <image>Aircraft/Generic/Effects/FresnelLookUp.png</image>
- <filter>linear-mipmap-linear</filter>
- <wrap-s>repeat</wrap-s>
- <wrap-t>repeat</wrap-t>
- <internal-format>normalized</internal-format>
- </texture>
- <texture n="8">
- <image>Aircraft/b1900d/Models/Effects/greymap.png</image>
- <filter>linear-mipmap-linear</filter>
- <wrap-s>repeat</wrap-s>
- <wrap-t>repeat</wrap-t>
- <internal-format>normalized</internal-format>
- </texture>
- <rendering-hint>transparent</rendering-hint>
- <shade-model>smooth</shade-model>
- <rainbowiness type="float">0.01</rainbowiness>
- <fresneliness>0.0</fresneliness>
- <noisiness>0.0</noisiness>
- <refl_correction>0.0</refl_correction>
- <ambient_correction>0.0</ambient_correction>
- <reflect_map>1</reflect_map>
- </parameters>
-</PropertyList>
\ No newline at end of file
+ <name>chrome-parts</name>
+ <inherits-from>Effects/model-combined-deferred</inherits-from>
+ <parameters>
+ <reflection-enabled type="int">1</reflection-enabled>
+ <reflection-dynamic type="int">1</reflection-dynamic>
+ <reflect_map-enabled type="int">1</reflect_map-enabled>
+ <reflection-correction type="float">1.0</reflection-correction>
+ <texture n="5">
+ <type>cubemap</type>
+ <images>
+ <positive-x>Aircraft/Generic/Effects/fgfs-sky2/1.png</positive-x>
+ <negative-x>Aircraft/Generic/Effects/fgfs-sky2/4.png</negative-x>
+ <positive-y>Aircraft/Generic/Effects/fgfs-sky2/2.png</positive-y>
+ <negative-y>Aircraft/Generic/Effects/fgfs-sky2/3.png</negative-y>
+ <positive-z>Aircraft/Generic/Effects/fgfs-sky2/6.png</positive-z>
+ <negative-z>Aircraft/Generic/Effects/fgfs-sky2/5.png</negative-z>
+ </images>
+ </texture>
+ <reflection-fresnel type="float">0.05</reflection-fresnel>
+ <reflection-rainbow type="float">0.01</reflection-rainbow>
+ <reflection-noise type="float">0.0</reflection-noise>
+ </parameters>
+</PropertyList>
+
diff --git a/Aircraft/b1900d/Models/flightdeck.xml b/Aircraft/b1900d/Models/flightdeck.xml
index b39bdf3..8247ec9 100644
--- a/Aircraft/b1900d/Models/flightdeck.xml
+++ b/Aircraft/b1900d/Models/flightdeck.xml
@@ -15,7 +15,7 @@
</offsets>
<overlay>
<params>
- <size>0.030</size>
+ <size>0.010</size>
<alignment>yz-plane</alignment>
<color>
<red>0.8</red>
@@ -2641,4 +2641,4 @@
</action>
</animation>
-</PropertyList>
\ No newline at end of file
+</PropertyList>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel