CVS: data/Aircraft/Lockheed-NF104A/Models/Effects F104reflect.eff, 1.1, 1.2
Emmanuel Baranger <[email protected]> Fri, 2 Apr 2010 17:51:32 -0500
| Newsgroups | gmane.games.flightgear.cvc |
|---|---|
| Message-ID | <[email protected]> |
Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-NF104A/Models/Effects In directory baron.flightgear.org:/tmp/cvs-serv5663/Models/Effects Modified Files: F104reflect.eff Log Message: - new update for new effects Index: F104reflect.eff =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Lockheed-NF104A/Models/Effects/F104reflect.eff,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- F104reflect.eff 2 Apr 2010 15:29:31 -0000 1.1 +++ F104reflect.eff 2 Apr 2010 22:49:47 -0000 1.2 @@ -1,100 +1,113 @@ <?xml version="1.0" encoding="utf-8"?> - <!-- Reflections -PARAMETERS: There are two forms of cube map texture:- vertical cross and 6 images. -Either can be used - alternative forms are shown in <parameters> and in <texture-unit> +<!-- Reflections -The reflection is set proportional to the shininess of the material. Thus by -varying the material shininess value over or between objects the amount of -refection can be controlled. The overall amount of reflection may be -adjusted by the use of <refl_correction> -1.0 (fully transparent)- 1.0 (fully opaque). + PARAMETERS: There are two forms of cube map texture:- vertical cross and 6 images. + Either can be used - alternative forms are shown in <parameters> and in <texture-unit> -The overall values of the noisiness, coloured fringing or fresnel effect may be adjusted -by the use of <noisiness>, <rainbowiness> and <fresneliness>. + The reflection is set proportional to the shininess of the material. Thus by + varying the material shininess value over or between objects the amount of + refection can be controlled. The overall amount of reflection may be + adjusted by the use of <refl_correction> -1.0 (fully transparent)- 1.0 (fully opaque). -If your result is too dark/too light the overall ambient light value can be adjusted -by the use of <ambient_correction>. This correction also takes out some of the blueness -added as default to compensate for the lack of reflection. + The overall values of the noisiness, coloured fringing or fresnel effect may be adjusted + by the use of <noisiness>, <rainbowiness> and <fresneliness>. -To use a reflection map set <reflect_map> to 1,and the path to the map texture in -<texture n="8"> + If your result is too dark/too light the overall ambient light value can be adjusted + by the use of <ambient_correction>. This correction also takes out some of the blueness + added as default to compensate for the lack of reflection. -USE: To use the default reflection effect (controlled by material shininess values) use - - <effect> - <inherits-from>Effects/reflect</inherits-from> - <object-name>Fuselage</object-name> - </<effect> + To use a reflection map set <reflect_map> to 1,and the path to the map texture in + <texture n="8"> + + USE: To use the default reflection effect (controlled by material shininess values) use + + <effect> + <inherits-from>Effects/reflect</inherits-from> + <object-name>Fuselage</object-name> + </<effect> - To use your own reflection effectuse + To use your own reflection effectuse - <effect> - <inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from> - <object-name>Fuselage</object-name> - </<effect> + <effect> + <inherits-from>Aircraft/Lightning/Models/Effects/lightningreflect</inherits-from> + <object-name>Fuselage</object-name> + </<effect> -in your model file. + in your model file. -To use your own effect place your efffect file containing something like this: + To use your own effect place your efffect file containing something like this: - <name>Effects/lightningreflect</name> - <inherits-from>Effects/reflect</inherits-from> + <name>Effects/lightningreflect</name> + <inherits-from>Effects/reflect</inherits-from> - and the the modified tags in the path as above + and the the modified tags in the path as above -EXAMPLES: You can find examples of both usages in the Hunter and Lightning models. + EXAMPLES: You can find examples of both usages in the Hunter and Lightning models. --> <PropertyList> - <name>Effects/F104reflect</name> - <inherits-from>Effects/reflect</inherits-from> + <name>Effects/F104reflect</name> + <inherits-from>Effects/reflect</inherits-from> - <parameters> - <texture n="5"> - <type>cubemap</type> - <!-- use this form for a cube cross --> - <!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>--> - - <!-- use this form for a 6 image cube map --> - <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/Lockheed-NF104A/Models/Effects/reflection_map.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.05</rainbowiness> - <fresneliness>0.1</fresneliness> - <noisiness>0.25</noisiness> - <refl_correction>0.0</refl_correction> - <ambient_correction>0.25</ambient_correction> - <reflect_map>1</reflect_map> - </parameters> + <parameters> + <texture n="5"> + <type>cubemap</type> + <!-- use this form for a cube cross --> + <!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>--> + + <!-- use this form for a 6 image cube map --> + <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"> +<!-- Sorry I havn't found this picture in CVS + <image>Aircraft/Generic/Effects/Rainbow.png</image> +--> + <image>Aircraft/Generic/Effects/CubeCrosses/blue_sky.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"> +<!-- Sorry I havn't found this picture in CVS + <image>Aircraft/Generic/Effects/FresnelLookUp.png</image> +--> + <image>Aircraft/Generic/Effects/CubeCrosses/blue_sky.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"> +<!-- Sorry I havn't found this picture in CVS + <image>Aircraft/Lockheed-NF104A/Models/Effects/reflection_map.png</image> +--> + <image>Aircraft/Generic/Effects/CubeCrosses/blue_sky.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.05</rainbowiness> + <fresneliness>0.1</fresneliness> + <noisiness>0.25</noisiness> + <refl_correction>0.0</refl_correction> + <ambient_correction>0.25</ambient_correction> + <reflect_map>1</reflect_map> +</parameters> - </PropertyList> +</PropertyList> ------------------------------------------------------------------------------ Download Intel® 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