Melchior, (or anybody else)
It seems that the material animation nullifies the alpha channel of .rgb
files mapped to the objects being animated. Here is an example. The
objects face and ball both have alpha channels which go away when this
animation is commented back in. Since I stole this from the mustang, you
should be able to see the problem there as well (though the original
ball is a solid object, not an alpha-mapped card). Example is attached.
Josh
<?xml version="1.0"?>
<PropertyList>
<path>jrb-wbd-turn.ac</path>
<!--
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Needle1</object-name>
<object-name>Back</object-name>
<object-name>Ball</object-name>
<emission>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
<red>0.5</red>
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
-->
<animation>
<type>rotate</type>
<object-name>Ball</object-name>
<property>instrumentation/slip-skid-ball/indicated-slip-skid</property>
<min>-1.1</min>
<max>1.1</max>
<interpolation>
<entry>
<ind>-1.1</ind>
<dep>-7.2</dep>
</entry>
<entry>
<ind>1.1</ind>
<dep>7.2</dep>
</entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.22</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Needle1</object-name>
<property>instrumentation/turn-indicator/indicated-turn-rate</property>
<property>orientation/yaw-rate-degps</property>
<factor>8.0</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d