Hello,

It seems the material animation is not conditional anymore (it works
correctly in fg plib). This code, for example:

<animation>
  <type>material</type>
  <object-name>Mesh</object-name>
  <condition>
    <greater-than>
      <property>/sim/time/sun-angle-rad</property>
      <value>1.57</value>
    </greater-than>
  </condition>
  <emission>
    <red>  1.0 </red>
    <green>1.0</green>
    <blue> 1.0</blue>
  </emission>
</animation>

has no impact on emission if we have

<animation>
  <type>material</type>
  <object-name>Mesh</object-name>
  <condition>
    <less-than-equals>
      <property>/sim/time/sun-angle-rad</property>
      <value>1.57</value>
    </less-than-equals>
  </condition>
  <emission>
    <red>  0.0</red>
    <green>0.0</green>
    <blue> 0.0</blue>
  </emission>
</animation>

after. The same applies to the texture attribute, the one that is
applied is the last specified (due to OVERRIDE I guess) in the xml file.

Is this intentional ?

Best regards
Benoît


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to