Dave Martin a écrit :
On Sunday 23 Jan 2005 21:30, Jon Stockill wrote:If you look at the tower-medium.xml, you will have an idea on how it is made.
Frederic Bouvier wrote:
Jon Stockill a écrit :
I've recently produced a model of a wind turbine, which I'm in the
process of adding to the scenery, but when they're clustered together
in groups it looks rather unnatural as they're all spinning round in
perfect synchronisation. Is it possible to introduce some random
offset to make things look a little bit more natural? If so, how?
I did something for the radio towers. they don't blink at unisson. I introduced the <use-personality> tag but this is done only for the timed animation.
What animation do you want to have personality ? spin, rotation ? this
must be implemented in animation.cxx
Spin.
I'd like to be able to have either a random rotational offset, just so
all the blades don't line up, or preferably a small percentage variation
in the speed.
I'm not in the know but could 'property-randomize' be used to slightly vary the spin rate?
I think it is formatted:
<command>property-randomize</command>
<property>/thepropertyyouwantouse</property>
<min>1</min>
<max>10</max>
Or something along those lines.
I'm not even sure if that is usable because it looks like it writes to the property rather than making it available for an effect (if you follow me).
Anyone in the know on the above?
Jon, I will see if I can do something during the week for the spin animation.
-Fred
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d