Fred, Roberto & Paul, Thank you for your help.

I now have a flashing light.. :-)

I don't fully understand how but there must be some glimmer of understanding to get it to work.

I added;

<animation>
  <name>RedLightOn</name>
  <object-name>RedLight.3</object-name>
</animation>

<animation>
  <name>RedLightOff</name>
  <object-name>RedLight.3</object-name>
</animation>

<animation>
  <type>timed</type>
  <object-name>RedLightOn</object-name>
  <object-name>RedLightOff</object-name>
  <use-personality type="bool">true</use-personality>
  <branch-duration-sec>
     <random>
          <min>0.9</min>
       <max>1.1</max>
     </random>
  </branch-duration-sec>
  <branch-duration-sec>
     <random>
          <min>0.9</min>
       <max>1.1</max>
     </random>
  </branch-duration-sec>
</animation>

above the section that turns it on at night and now I have a light that flashes at the top of the mast at night and none during the day.

I suppose I better get on and read this Blender manual... :-}

Thanks again for your help
:-D ene


From: Frederic Bouvier <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [Flightgear-users] XML required to make light in object flash
Date: Sat, 22 Apr 2006 13:02:07 +0200

dene maxwell wrote :
>
> And there-in lies the key... read from bottom to top....
>
> Simplifying the base-clape3 model
>
> <animation>
>   <type>range</type>
>   ...
> </animation>
>
> <animation>
>   <type>select</type>
>   <object-name>redlight</object-name>
>   <condition>
>      <greater-than>
>         <property>/sim/time/sun-angle-rad</property>
>      </greater-than>
>   </condition>
> </animation>
>
> <animation>
>   <type>billboard</type>
>   <object-name>redlight</object-name>
>   ...
> </animation>
>
> <animation>
>   <type>dist-scale</type>
>   <object-name>redlight</object-name>
>   <interpolation>
>   ...
>   </interpolation>
> </animation>
>
> the interpolation animation on *redlight* would be performed first,

You mean the scaling based on distance that use an interpolation table.

> then the billboard animation on *redlight*
> then the sun-angle conditional animation on *redlight* (in this case
> to turn it on when the sun is below the horizon)
>
> then finally setting the range that the whole model is visible from
>
> yeah???????

You got it ;-)

-Fred

--
Frédéric Bouvier
http://frfoto.free.fr         Photo gallery - album photo
http://www.fotolia.fr/p/2278  Other photo gallery
http://fgsd.sourceforge.net/  FlightGear Scenery Designer




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

_________________________________________________________________
Discover fun and games at  @  http://xtramsn.co.nz/kids



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to