I've added support for interpolation tables to the 3D model
animations, similar to the interpolation tables in the old 2D panel --
these tables will make non-linear animations possible and other
animations simpler.  For example, here is the part of the left-aileron
animation now:

  <property>/surface-positions/left-aileron-pos-norm</property>
  <interpolation>
   <entry>
    <ind>-1.0</ind>
    <dep>15</dep>
   </entry>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>1.0</ind>
    <dep>-20</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>0.94</x-m>
   <y-m>-3.83</y-m>
   <z-m>0.40</z-m>
  </center>

This could have been done with the old system using factors and
offsets, but it would have been much more difficult to understand and
maintain; here, it is verbose but nice and explicit.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


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

Reply via email to