you could have a linear interpolation and a cubic interpolation and interpolate between the two interpolation functions.
ie.
cubic(t) = cubic interpolation
linear(t) = linear interpolation
cubic_to_linear(t) = linear(t)*t + cubic(t)*(1-t)
linear_to_cubic(t) = cubic(t)*t + linear(t)*(1-t)
where t ranges from 0...1
Donnie DeBoer
2009-07-18 00:36:59