Cancel specular highlights due to sun at night
[fg:toms-fgdata.git] / Environment / cloudlayers.xml
1 <?xml version="1.0" ?> 
2 <!--
3  This file is part of FlightGear, the free flight simulator
4  http://www.flightgear.org/
5
6  Copyright (C) 2010  Curtis L. Olson  - http://www.flightgear.org/~curt
7
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of the
11  License, or (at your option) any later version.
12
13  This program is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  General Public License for more details.
17 -->
18 <!--
19   Cloud shapes and layers. See Docs/README.3DClouds for details.
20   
21   short Explanation:
22   cb = Cumulonimbus (Thunderstorm cloud)
23       cb-cal = Cumulonimbus Calvus (without amboss)
24       cb-inc = Cumulonimbus Incus (with amboss)
25   cu = Cumulus
26       cu hum = Cumulus humilis (smallest one, only at fair, nice weather)
27       cu med = Cumulus mediocris (middle)
28       cu con = Cumulus congestus (the largest one, pre-stage of Cumulonimbus)
29 ns = Nimbostratus (Rain cloud)
30   st = Stratus
31   sc = Stratocumulus
32   ac = Altocumulus
33 -->
34 <PropertyList>
35   <clouds>
36     <cb-large>
37       <min-cloud-width-m>2200</min-cloud-width-m>
38       <min-cloud-height-m>1200</min-cloud-height-m>
39       <num-sprites>3</num-sprites>
40       <texture>/Models/Weather/congestus_sheet1.rgb</texture>
41       <num-textures-x>1</num-textures-x>
42       <num-textures-y>3</num-textures-y>
43       <min-bottom-lighting-factor>0.2</min-bottom-lighting-factor>
44       <min-middle-lighting-factor>0.3</min-middle-lighting-factor>
45       <min-shade-lighting-factor>0.4</min-shade-lighting-factor>
46       <min-sprite-width-m>1300</min-sprite-width-m>
47       <min-sprite-height-m>600</min-sprite-height-m>
48       <height-map-texture>true</height-map-texture>
49     </cb-large>
50     <cb-small>
51       <min-cloud-width-m>2200</min-cloud-width-m>
52       <min-cloud-height-m>1200</min-cloud-height-m>
53       <num-sprites>3</num-sprites>
54       <texture>/Models/Weather/congestus_sheet1.rgb</texture>
55       <num-textures-x>1</num-textures-x>
56       <num-textures-y>3</num-textures-y>
57       <min-bottom-lighting-factor>0.3</min-bottom-lighting-factor>
58       <min-middle-lighting-factor>0.3</min-middle-lighting-factor>
59       <min-shade-lighting-factor>0.4</min-shade-lighting-factor>
60       <min-sprite-width-m>1300</min-sprite-width-m>
61       <min-sprite-height-m>600</min-sprite-height-m>
62       <height-map-texture>true</height-map-texture>
63     </cb-small>
64     <cu-con>
65       <min-cloud-width-m>900</min-cloud-width-m>
66       <min-cloud-height-m>500</min-cloud-height-m>
67       <num-sprites>10</num-sprites>
68       <texture>/Models/Weather/cumulus_sheet1.rgb</texture>
69       <num-textures-x>3</num-textures-x>
70       <num-textures-y>3</num-textures-y>
71       <min-bottom-lighting-factor>0.3</min-bottom-lighting-factor>
72       <min-shade-lighting-factor>0.4</min-shade-lighting-factor>
73       <min-sprite-width-m>600</min-sprite-width-m>
74       <max-sprite-width-m>900</max-sprite-width-m>
75       <min-sprite-height-m>600</min-sprite-height-m>
76       <max-sprite-height-m>900</max-sprite-height-m>
77       <height-map-texture>true</height-map-texture>
78     </cu-con>
79     <cu-large>
80       <min-cloud-width-m>1300</min-cloud-width-m>
81       <min-cloud-height-m>700</min-cloud-height-m>
82       <num-sprites>10</num-sprites>
83       <texture>/Textures/Sky/cl_cumulus2.png</texture>
84       <num-textures-x>4</num-textures-x>
85       <num-textures-y>4</num-textures-y>
86       <min-bottom-lighting-factor>0.3</min-bottom-lighting-factor>
87       <min-middle-lighting-factor>0.6</min-middle-lighting-factor>
88       <min-top-lighting-factor>1.0</min-top-lighting-factor>
89       <min-shade-lighting-factor>0.4</min-shade-lighting-factor>
90       <min-sprite-width-m>600</min-sprite-width-m>
91       <max-sprite-width-m>900</max-sprite-width-m>
92       <min-sprite-height-m>600</min-sprite-height-m>
93       <max-sprite-height-m>900</max-sprite-height-m>
94       <height-map-texture>true</height-map-texture>
95     </cu-large>
96     <cu-small>
97       <min-cloud-width-m>900</min-cloud-width-m>
98       <min-cloud-height-m>500</min-cloud-height-m>
99       <num-sprites>10</num-sprites>
100       <texture>/Textures/Sky/cl_cumulus2.png</texture>
101       <num-textures-x>4</num-textures-x>
102       <num-textures-y>4</num-textures-y>
103       <min-bottom-lighting-factor>0.5</min-bottom-lighting-factor>
104       <min-middle-lighting-factor>0.7</min-middle-lighting-factor>
105       <min-top-lighting-factor>1.0</min-top-lighting-factor>
106       <min-shade-lighting-factor>0.5</min-shade-lighting-factor>
107       <min-sprite-width-m>600</min-sprite-width-m>
108       <max-sprite-width-m>700</max-sprite-width-m>
109       <min-sprite-height-m>500</min-sprite-height-m>
110       <max-sprite-height-m>700</max-sprite-height-m>
111       <height-map-texture>true</height-map-texture>
112     </cu-small>
113     <ns-large>
114       <min-cloud-width-m>1200</min-cloud-width-m>
115       <max-cloud-width-m>3000</max-cloud-width-m>
116       <min-cloud-height-m>400</min-cloud-height-m>
117       <max-cloud-height-m>800</max-cloud-height-m>
118       <num-sprites>40</num-sprites>
119       <texture>cl_st.png</texture>
120       <num-textures-x>1</num-textures-x>
121       <num-textures-y>1</num-textures-y>
122       <min-shade-lighting-factor>0.2</min-shade-lighting-factor>
123       <min-middle-lighting-factor>0.2</min-middle-lighting-factor>
124       <min-bottom-lighting-factor>0.2</min-bottom-lighting-factor>
125       <min-sprite-width-m>300</min-sprite-width-m>
126       <max-sprite-width-m>600</max-sprite-width-m>
127       <min-sprite-height-m>300</min-sprite-height-m>
128       <max-sprite-height-m>600</max-sprite-height-m>
129       <height-map-texture>false</height-map-texture>
130       <z-scale>0.5</z-scale>
131     </ns-large>
132     <ns-white>
133       <min-cloud-width-m>600</min-cloud-width-m>
134       <max-cloud-width-m>2000</max-cloud-width-m>
135       <min-cloud-height-m>400</min-cloud-height-m>
136       <max-cloud-height-m>600</max-cloud-height-m>
137       <num-sprites>40</num-sprites>
138       <texture>cl_st.png</texture>
139       <num-textures-x>1</num-textures-x>
140       <num-textures-y>1</num-textures-y>
141       <min-bottom-lighting-factor>0.3</min-bottom-lighting-factor>
142       <min-sprite-width-m>300</min-sprite-width-m>
143       <max-sprite-width-m>600</max-sprite-width-m>
144       <min-sprite-height-m>100</min-sprite-height-m>
145       <max-sprite-height-m>200</max-sprite-height-m>
146       <height-map-texture>false</height-map-texture>
147       <z-scale>0.5</z-scale>
148     </ns-white>
149     <sc>
150       <min-cloud-width-m>3500</min-cloud-width-m>
151       <min-cloud-height-m>1600</min-cloud-height-m>
152       <num-sprites>4</num-sprites>
153       <texture>/Models/Weather/congestus_sheet1.rgb</texture>
154       <num-textures-x>1</num-textures-x>
155       <num-textures-y>3</num-textures-y>
156       <min-bottom-lighting-factor>0.5</min-bottom-lighting-factor>
157       <min-sprite-width-m>1900</min-sprite-width-m>
158       <max-sprite-width-m>2100</max-sprite-width-m>
159       <min-sprite-height-m>1000</min-sprite-height-m>
160       <max-sprite-height-m>1000</max-sprite-height-m>
161       <height-map-texture>false</height-map-texture>
162       <z-scale>0.3</z-scale>
163     </sc>
164     <st-small>
165       <min-cloud-width-m>4000</min-cloud-width-m>
166       <min-cloud-height-m>4000</min-cloud-height-m>
167       <num-sprites>20</num-sprites>
168       <texture>/Models/Weather/stratus_sheet1.rgb</texture>
169       <num-textures-x>3</num-textures-x>
170       <num-textures-y>2</num-textures-y>
171       <min-bottom-lighting-factor>0.4</min-bottom-lighting-factor>
172       <min-sprite-width-m>1500</min-sprite-width-m>
173       <min-sprite-height-m>1500</min-sprite-height-m>
174       <height-map-texture>false</height-map-texture>
175       <z-scale>0.4</z-scale>
176     </st-small>
177     <st-large>
178       <min-cloud-width-m>5000</min-cloud-width-m>
179       <min-cloud-height-m>5000</min-cloud-height-m>
180       <num-sprites>20</num-sprites>
181       <texture>/Models/Weather/stratus_sheet1.rgb</texture>
182       <num-textures-x>3</num-textures-x>
183       <num-textures-y>2</num-textures-y>
184       <min-bottom-lighting-factor>0.4</min-bottom-lighting-factor>
185       <min-sprite-width-m>1900</min-sprite-width-m>
186       <min-sprite-height-m>1900</min-sprite-height-m>
187       <height-map-texture>false</height-map-texture>
188       <z-scale>0.4</z-scale>
189     </st-large>
190   </clouds>
191   <boxes>
192     <ac-str>
193       <box>
194         <type>st-small</type>
195         <count>5</count>
196         <width>1000</width>
197         <height>0</height>
198         <hdist>1</hdist>
199         <vdist>1</vdist>
200       </box>
201     </ac-str>
202     
203     <cu-hum>
204       <box>
205         <type>cu-small</type>
206         <count>4</count>
207         <width>800</width>
208         <height>0</height>
209         <hdist>2</hdist>
210         <vdist>2</vdist>
211       </box>
212     </cu-hum>
213     
214     <cu-con>
215       <box>
216         <type>cu-con</type>
217         <count>2</count>
218         <width>1500</width>
219         <height>0</height>
220         <hdist>2</hdist>
221         <vdist>1</vdist>
222       </box>
223       <box>
224         <type>cu-small</type>
225         <count>1</count>
226         <width>1000</width>
227         <height>0</height>
228         <hdist>1</hdist>
229         <vdist>2</vdist>
230       </box>
231     </cu-con>
232     
233     <cb-cal>
234       <box>
235         <type>cb-large</type>
236         <count>1</count>
237         <width>1500</width>
238         <height>1000</height>
239         <hdist>2</hdist>
240         <vdist>2</vdist>
241       </box>
242     </cb-cal>
243     
244     
245     <cb-inc>
246       <box>
247         <type>cb-large</type>
248         <count>1</count>
249         <width>2500</width>
250         <height>1000</height>
251       </box>
252     </cb-inc>
253     
254     <st>
255       <box>
256         <type>st-large</type>
257         <count>5</count>
258         <width>2000</width>
259         <height>100</height>
260       </box>
261       <box>
262         <type>st-small</type>
263         <count>5</count>
264         <width>2000</width>
265         <height>100</height>
266       </box>
267     </st>
268     
269     <st-small>
270       <box>
271         <type>st-small</type>
272         <count>10</count>
273         <width>5000</width>
274         <height>200</height>
275       </box>
276     </st-small>
277     
278     <ns>
279       <box>
280         <type>ns-large</type>
281         <count>5</count>
282         <width>5000</width>
283         <height>300</height>
284       </box>
285     </ns>
286     
287     <sc>
288       <box>
289         <type>sc</type>
290         <count>1</count>
291         <width>2500</width>
292         <height>300</height>
293       </box>
294     </sc>
295     
296     <xx>
297       <box>
298         <type>cu-large</type>
299         <count>30</count>
300         <width>2500</width>
301         <height>300</height>
302         <dist>1</dist>
303       </box>
304     </xx>
305   </boxes>
306   
307   
308   <layers>
309     <cu>
310       <cloud>
311         <name>cu-hum</name>
312         <count>1</count>
313       </cloud>
314       <cloud>
315         <name>cu-con</name>
316         <count>1</count>
317       </cloud>
318     </cu>
319     <cb>
320       <cloud>
321         <name>cb-cal</name>
322         <count>3</count>
323       </cloud>
324       <cloud>
325         <name>cb-inc</name>
326         <count>3</count>
327       </cloud>
328       <cloud>
329         <name>cu-hum</name>
330         <count>1</count>
331       </cloud>
332       <cloud>
333         <name>cu-con</name>
334         <count>5</count>
335       </cloud>
336       <grid-z-rand type="double">200.0</grid-z-rand>
337     </cb>
338     <ac>
339       <cloud>
340         <name>ac-str</name>
341         <count>1</count>
342       </cloud>
343       <grid-z-rand type="double">100.0</grid-z-rand>
344     </ac>
345     <st>
346       <cloud>
347         <name>st</name>
348         <count>1</count>
349       </cloud>
350       <cloud>
351         <name>st-small</name>
352         <count>1</count>
353       </cloud>
354       <grid-z-rand type="double">100.0</grid-z-rand>
355     </st>
356     <sc>
357       <cloud>
358         <name>sc</name>
359         <count>1</count>
360       </cloud>
361       <grid-z-rand type="double">150.0</grid-z-rand>
362     </sc>
363     <ns>
364       <cloud>
365         <name>ns</name>
366         <count>1</count>
367       </cloud>
368       <grid-z-rand type="double">15.0</grid-z-rand>
369     </ns>
370   </layers>
371 </PropertyList>
372 <!-- end of cloudlayers.xml -->