I am having a tough time trying to get animations exported from Maya to playback the same on my custom viewer.

It seems I am not handling the bezier math correctly.

Here is the math I am using, which is from the Collada book( Arnaud, Barnes 2006).

s = (key-k1)/(k2-k1)

S= (s^3, s^2, s, 1 )

M = ( -1 3 -3 1, 3 -6 3 0, -3 0 3 0, 1 4 1 0)

C = ( V1, V2, T1, T2 )

Interpolated Value = S x M x C

My interpretation(very unsure) of the parameters are :

key - time used to obtain interpolated value (k1 <= key <= k2)

k1 - first key’s start time

k2 - second key’s start time

V1 - value of first key

V2 - value of second key

T1 - V1 + inTangent[V1]

T2 - V2 - outTangent[V2]

The matrix used for M appears to be for bsplines? Confused…

The Feeling Viewer also does not produce identical playback when playing back ColladaMaya files.

Can someone point me in the right direction?

Thank you!

nazure