I'm about to animate my "danube tower"[1]. The version on
my HP has already simple lighted ads and a flashing, red
obstacle warning light. To prevent it from flashing all
day long, I've used this condition:

  <condition>
    <or>
      <less-than>
        <property>/instrumentation/clock/indicated-sec</property>
        <value>21600</value>  <!-- 0600 -->
      </less-than>
      <greater-than>
        <property>/instrumentation/clock/indicated-sec</property>
        <value>64800</value>  <!-- 1800 -->
      </greater-than>
    </or>
  </condition>

But that's wrong, because the instrumentation clock is UTC by
default and can be adjusted and it does, of course, not say
anything about the darkness at any time of the year and any
location. I didn't find anything better suited, but I think
that more models will need a property for this purpose in the
future. It should ideally be a value between 0 and 1 depending
on sun angel and clouds, fog, haze ... I'd look into this but
I think that others are more competent ... (Erik? :-)

m.


[1] http://www.unet.univie.ac.at/~a8603365/donauturm.tar.gz

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to