Page 1 of 1

Why SPositionKey,SScaleKey and SRotationKey instead Matrix?

Posted: Thu Nov 06, 2008 9:50 am
by david0313
in ISkinnedMesh SPositionKey,SScaleKey and SRotationKey instead Matrix operate,and omit SScaleKey in irr, i think this is the ugly idea,because there some error when assemble matrix with SPositionKey,SScaleKey and SRotationKey ,so some translation have been killed. i hope it will favor matrix operation to ISkinMesh or IAnimateMesh

Posted: Thu Nov 06, 2008 10:49 am
by rogerborg
Patches, or clear and explicit suggestions for improved functionality are always welcome.

We're still waiting for you to followup your previous bug report about this.

Posted: Fri Nov 07, 2008 2:18 am
by Luke
well separating them gives you more functionality, eg rotation and position frames can be at different rates, you can save space as most meshes only use rotation keyframes. optimize meshes that don't use scale, etc.

yes there might be rounding errors when loading an x mesh that uses matrices, but x keyframes can also be set separated too, with would also have rounding errors converting to matrices, if it was changed to that.