Dave Culp wrote :
> On Wednesday 23 August 2006 10:20 am, Frederic Bouvier wrote:
>   
>> I remember making the necessary changes in the animation code to add
>> personality and providing a .xml animation file, but it seems it was lost
>> somewhere.
>>     
>
> Speaking of which ...  Fred, would you be able to find the time to expand the 
> personality capability to other animations, like translate and scale?
>   

Ok,  I finally made the code enhancement I had in mind, and added
personality to translate, blend and scale animations. It only touch
factor and offset parameters. The syntax is always the same :

<factor> <!-- can be offset, offset-m, x-factor, z-offset : look at the
original property name -->
  <random>
    <min>0.9</min>
    <max>1.1</max>
  </random>
</factor>

to have a random factor between 0.9 and 1.1. If you want this factor to
be different for each instance of the same model/animation, add :

<use-personality type="bool">true</use-personality>


What is unclear to me is where these animations are supposed to be used.
For the moment, personality is only active for static objects ( those
that are in the model library ), and not for the main aircraft branch.

-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&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to