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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
2015-07-05 18:32:41 +00:00
|
|
|
<path>3dpontoonshadow.ac</path>
|
2015-06-16 21:20:54 +00:00
|
|
|
<nopreview/>
|
2015-07-05 18:32:41 +00:00
|
|
|
|
|
|
|
<offsets>
|
|
|
|
<pitch-deg>3.75</pitch-deg>
|
|
|
|
<z-m>-0.25</z-m>
|
2015-06-16 21:20:54 +00:00
|
|
|
</offsets>
|
|
|
|
|
|
|
|
<animation>
|
2015-07-05 18:32:41 +00:00
|
|
|
<object-name>3dpontoonshadow</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<type>select</type>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2015-07-05 18:32:41 +00:00
|
|
|
<not>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
|
|
</not>
|
|
|
|
<property>/sim/rendering/shaders/skydome</property>
|
2015-07-05 18:32:41 +00:00
|
|
|
<property>/sim/rendering/shadow-volume</property>
|
|
|
|
<equals>
|
|
|
|
<property>/fdm/jsbsim/bushkit</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
2015-06-16 21:20:54 +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>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
2015-07-05 18:32:41 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<effect>
|
2015-07-05 18:32:41 +00:00
|
|
|
<inherits-from>Effects/shadow-vol</inherits-from>
|
|
|
|
<object-name>3dpontoonshadow</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
</effect>
|
2015-07-05 18:32:41 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<animation>
|
|
|
|
<type>noshadow</type>
|
2015-07-05 18:32:41 +00:00
|
|
|
<object-name>3dpontoonshadow</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- pitch -->
|
|
|
|
<animation>
|
|
|
|
<type>rotate</type>
|
2015-07-05 18:32:41 +00:00
|
|
|
<object-name>3dpontoonshadow</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
<factor>-1.0</factor>
|
|
|
|
<center>
|
|
|
|
<x-m>0</x-m>
|
|
|
|
<y-m>0</y-m>
|
|
|
|
<z-m>0</z-m>
|
|
|
|
</center>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- roll -->
|
|
|
|
<animation>
|
|
|
|
<type>rotate</type>
|
2015-07-05 18:32:41 +00:00
|
|
|
<object-name>3dpontoonshadow</object-name>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<factor>1.0</factor>
|
|
|
|
<center>
|
|
|
|
<x-m>0</x-m>
|
|
|
|
<y-m>0</y-m>
|
|
|
|
<z-m>0</z-m>
|
|
|
|
</center>
|
|
|
|
<axis>
|
|
|
|
<x>1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
</PropertyList>
|