2015-06-16 21:20:54 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!-- (c) 2015, wlbragg. http://forum.flightgear.org/viewtopic.php?f=4&t=25157&start=75#p232085
|
|
|
|
Under the GPL. This author also provided shadow.ac and shadow.png
|
|
|
|
|
|
|
|
Copied from the Boeing 737-100
|
|
|
|
http://helijah.free.fr/flightgear/hangar.htm
|
|
|
|
embaranger@free.fr
|
|
|
|
Fix required:
|
|
|
|
when the aircraft is flying at a high/low pitch or is rolling over far,
|
|
|
|
the shadow seems to disappear into the ground.
|
2016-08-12 18:57:03 +00:00
|
|
|
-->
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<PropertyList>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<path>3dbush26shadow.ac</path>
|
|
|
|
<nopreview/>
|
|
|
|
|
|
|
|
<offsets>
|
2016-02-10 21:32:19 +00:00
|
|
|
<pitch-deg>3</pitch-deg>
|
|
|
|
<z-m>-0.04</z-m>
|
2016-08-12 18:57:03 +00:00
|
|
|
</offsets>
|
|
|
|
|
|
|
|
<animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
<object-name>3dbush26shadow</object-name>
|
|
|
|
<type>select</type>
|
|
|
|
<condition>
|
2016-08-12 18:57:03 +00:00
|
|
|
<and>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
|
|
</not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
|
|
<property>sim/rendering/shadow-volume</property>
|
2018-09-02 19:58:05 +00:00
|
|
|
<property>sim/rendering/shadow-volume-fix</property>
|
2016-08-12 18:57:03 +00:00
|
|
|
<equals>
|
|
|
|
<property>/fdm/jsbsim/bushkit</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<not>
|
|
|
|
<property>/sim/rendering/shadow</property>
|
|
|
|
</not>
|
2018-05-17 11:58:44 +00:00
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/orientation/upside-down</property>
|
|
|
|
</not>
|
2016-08-12 18:57:03 +00:00
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/unit[12]/WOW</property>
|
|
|
|
</not>
|
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/crash</property>
|
|
|
|
</not>
|
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/wing-damage/left-wing</property>
|
|
|
|
</not>
|
|
|
|
<not>
|
|
|
|
<property>/fdm/jsbsim/wing-damage/right-wing</property>
|
|
|
|
</not>
|
|
|
|
</and>
|
2015-06-16 21:20:54 +00:00
|
|
|
</condition>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
|
|
|
<effect>
|
2015-06-16 21:20:54 +00:00
|
|
|
<inherits-from>Effects/shadow-vol</inherits-from>
|
|
|
|
<object-name>3dbush26shadow</object-name>
|
2016-08-12 18:57:03 +00:00
|
|
|
</effect>
|
|
|
|
<animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
<type>noshadow</type>
|
|
|
|
<object-name>3dbush26shadow</object-name>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Pitch -->
|
|
|
|
<animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
<type>rotate</type>
|
|
|
|
<object-name>3dbush26shadow</object-name>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
<factor>-1.0</factor>
|
|
|
|
<center>
|
2016-08-12 18:57:03 +00:00
|
|
|
<x-m>0</x-m>
|
|
|
|
<y-m>0</y-m>
|
|
|
|
<z-m>0</z-m>
|
2015-06-16 21:20:54 +00:00
|
|
|
</center>
|
|
|
|
<axis>
|
2016-08-12 18:57:03 +00:00
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
2015-06-16 21:20:54 +00:00
|
|
|
</axis>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
<!-- Roll -->
|
|
|
|
<animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
<type>rotate</type>
|
|
|
|
<object-name>3dbush26shadow</object-name>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<factor>1.0</factor>
|
|
|
|
<center>
|
2016-08-12 18:57:03 +00:00
|
|
|
<x-m>0</x-m>
|
|
|
|
<y-m>0</y-m>
|
|
|
|
<z-m>0</z-m>
|
2015-06-16 21:20:54 +00:00
|
|
|
</center>
|
|
|
|
<axis>
|
2016-08-12 18:57:03 +00:00
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
2015-06-16 21:20:54 +00:00
|
|
|
</axis>
|
2016-08-12 18:57:03 +00:00
|
|
|
</animation>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
2016-08-12 18:57:03 +00:00
|
|
|
</PropertyList>
|