1
0
Fork 0

Harald JOHNSEN:

Changes
=======

New volumetric shadows for FlightGear.

There is now two new checkboxes in the rendering dialog to enable/disable shadows
for the user aircraft and for static scenery objects (ie those defined in the .stg files).
AI and random objects are not handled for the moment.


known bugs
==========
- ghost objects
This commit is contained in:
ehofman 2005-06-26 17:19:58 +00:00
parent beb96181c5
commit 07aaf76d45
2 changed files with 79 additions and 4 deletions

View file

@ -95,6 +95,20 @@
</checkbox>
</group>
<group>
<padding>8</padding>
<layout>vbox</layout>
<hrule></hrule>
<text>
<padding>-6</padding>
<halign>left</halign>
<label>3D Clouds</label>
<color>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
</color>
</text>
<group>
<layout>hbox</layout>
<halign>right</halign>
@ -139,7 +153,8 @@
<group>
<layout>hbox</layout>
<text><label>3D Clouds cache size in Kbytes</label></text>
<halign>right</halign>
<text><label>Cache size in Kbytes</label></text>
<input>
<property>/sim/rendering/clouds3d-cache-size</property>
<binding>
@ -151,7 +166,7 @@
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>3D Clouds texture resolution</label></text>
<text><label>Texture resolution</label></text>
<combo>
<property>/sim/rendering/clouds3d-cache-resolution</property>
<value>64</value>
@ -162,6 +177,62 @@
</binding>
</combo>
</group>
</group>
<group>
<padding>8</padding>
<layout>hbox</layout>
<hrule></hrule>
<group>
<layout>vbox</layout>
<valign>top</valign>
<halign>left</halign>
<text>
<padding>-6</padding>
<label>Shadows</label>
<color>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
</color>
</text>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label>Aircraft</label>
<property>/sim/rendering/shadows-ac</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Scenery objects</label>
<property>/sim/rendering/shadows-to</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>AI objects</label>
<property>/sim/rendering/shadows-ai</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Silouhette (debug)</label>
<property>/sim/rendering/shadows-debug</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
</group>
<group>
<layout>hbox</layout>

View file

@ -50,6 +50,10 @@ Started September 2000 by David Megginson, david@megginson.com
<enhanced-lighting type="bool">false</enhanced-lighting>
<distance-attenuation type="bool">false</distance-attenuation>
<draw-otw type="bool">true</draw-otw>
<shadows-ac type="bool">false</shadows-ac>
<shadows-ai type="bool">false</shadows-ai>
<shadows-to type="bool">false</shadows-to>
<shadows-debug type="bool">false</shadows-debug>
</rendering>
<model-hz type="int">120</model-hz>
<navdb>
@ -351,8 +355,6 @@ Started September 2000 by David Megginson, david@megginson.com
<environment>
<config>
<cloudlayers include="cloudlayers.xml"/>
<boundary-transition-ft>500</boundary-transition-ft>
<boundary>
@ -449,6 +451,8 @@ Started September 2000 by David Megginson, david@megginson.com
</layer>
</clouds>
<cloudlayers include="cloudlayers.xml"/>
<params>
<real-world-weather-fetch type="bool">false</real-world-weather-fetch>
<metar-max-age-min type="long">240</metar-max-age-min>