[Flightgear-devel] Patches for b1900d

2013-03-10 Thread Cristian Marchi
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.83 0.83 0.83 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.83 0.83 0.83 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
- nameEffects/chrome-parts/name
- inherits-fromEffects/reflect/inherits-from
- parameters
-   texture n=5
- typecubemap/type
- images
-   positive-xAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png/positive-x
-   negative-xAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png/negative-x
-   positive-yAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png/positive-y
-   negative-yAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png/negative-y
-   positive-zAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png/positive-z
-   negative-zAircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png/negative-z
- /images
-   /texture
-   texture n=6
- imageAircraft/Generic/Effects/Rainbow.png/image
- filterlinear-mipmap-linear/filter
- wrap-srepeat/wrap-s
- wrap-trepeat/wrap-t
- internal-formatnormalized/internal-format
-   /texture
-   texture n=7
- imageAircraft/Generic/Effects/FresnelLookUp.png/image
- filterlinear-mipmap-linear/filter
- wrap-srepeat/wrap-s
- wrap-trepeat/wrap-t
- internal-formatnormalized/internal-format
-   /texture
- texture n=8
- imageAircraft/b1900d/Models/Effects/greymap.png/image
- filterlinear-mipmap-linear/filter
- wrap-srepeat/wrap-s
- wrap-trepeat/wrap-t
- internal-formatnormalized/internal-format
-   /texture
-   rendering-hinttransparent/rendering-hint
-   shade-modelsmooth/shade-model
-   rainbowiness type=float0.01/rainbowiness
-   fresneliness0.0/fresneliness
-   noisiness0.0/noisiness
-   refl_correction0.0/refl_correction
-   ambient_correction0.0/ambient_correction
-   reflect_map1/reflect_map
- /parameters
-/PropertyList
\ No newline at end of file
+  namechrome-parts/name
+  

Re: [Flightgear-devel] Patches for b1900d

2013-03-10 Thread syd adams
Thanks for the patches , but ive redesigned the cockpit and gauges so
these dont apply . I'll try to commit the changes soon.
Syd

On Sun, Mar 10, 2013 at 6:47 AM, Cristian Marchi cri.pe...@gmail.com wrote:
 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

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


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