danni.coy Posted July 15, 2011 Posted July 15, 2011 the lerp (linear interpolation) function works on floats, all varieties of vec and quats but not for mat4. What is the best way to interpolate a matrix?
michael.zhang Posted July 15, 2011 Posted July 15, 2011 the lerp (linear interpolation) function works on floats, all varieties of vec and quats but not for mat4. What is the best way to interpolate a matrix? You could try decomposing the transformations into position and orientation. Lerp them separately, then re-compose the transform.
danni.coy Posted July 15, 2011 Author Posted July 15, 2011 lerp will accept mat4 and dmat4. not in Unigine SDK 2011-05-30 (just tested)... have things changed since?
Recommended Posts