Selon dene maxwell :
> Hi Fred,
>
> Thanks for your reply,
>
> I started out by placing a medium radio-mast in a very obvious(ly wrong)
> location where I could find it at night to observe its current behaviour.
> With 098a it doesn't so much flash as twinkle. (albeit with a 1 sec period
> of bright twinkling followed by a 1 sec period of not so bright twinkling
> but definitely not an on/off behaviour)
>
> I guessed that this was to simulate some random behaviour was observed from
> these type of lights when flying. I started on a section that was originally
>
> <animation>
> <type>timed</type>
> <object-name>StrobesOn</object-name>
> <object-name>StrobesOff</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>
>
> I adjusted the min/max numbers up and down both synchronously and
> asynchronously but couldn't observe any logical pattern to the way the
> lights behaved in intensity or timing.
>
> My guess is that the <random> function has something to do with this.
> Looking at it though, I think the random-ness is more to do with a slight
> variation in on/off duty cycle.
>
> Should I be able to observe a distinct on/off behaviour of the lights?
You should be able to get the effect you want if you edit the ac model and make
the objects that compose StrobeOff ( RedLight.{12,32,52,72} - see line 72 of
radio-medium.xml ) even dimmer or non existant.
The timed animation is a switch between the objects mentionned ( StrobeOn and
StrobeOff ) based on a random duration. If the second object is not visible,
you will have that effect.
-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