imtrobin
17-04-2008 12:16:01
Hi,
I'm comparing an node animation exported with Ofusion vs OgreMax. It's a simple translation loop. The Ogremax exports 3 keyframes like so
But with OFusion, it is sampling the keyframe every few milisecond. This is not data inefficent if we can interpolate, is there a way to change the sampling time?
I'm comparing an node animation exported with Ofusion vs OgreMax. It's a simple translation loop. The Ogremax exports 3 keyframes like so
<animations>
<animation name="SimpleAnim" enable="true" loop="true" interpolationMode="spline" rotationInterpolationMode="spherical" length="3.33354">
<keyframe time="0">
<translation x="0" y="0" z="0" />
<rotation qx="-0" qy="-0" qz="-0" qw="1" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="0.833333">
<translation x="16.2552" y="0" z="0" />
<rotation qx="-0" qy="-0" qz="-0" qw="1" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="2">
<translation x="-27.8431" y="0" z="0" />
<rotation qx="-0" qy="-0" qz="-0" qw="1" />
<scale x="1" y="1" z="1" />
</keyframe>
<keyframe time="3.33333">
<translation x="0" y="0" z="0" />
<rotation qx="-0" qy="-0" qz="-0" qw="1" />
<scale x="1" y="1" z="1" />
</keyframe>
</animation>
</animations>
<entity name="Teapot01" id="3" meshFile="Teapot01.mesh" castShadows="true" receiveShadows="true">
<subentities>
<subentity index="0" materialName="02 - Default" />
</subentities>
</entity>
But with OFusion, it is sampling the keyframe every few milisecond. This is not data inefficent if we can interpolate, is there a way to change the sampling time?