danni.coy Posted July 15, 2011 Share 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? Link to comment
michael.zhang Posted July 15, 2011 Share 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. Link to comment
frustum Posted July 15, 2011 Share Posted July 15, 2011 lerp will accept mat4 and dmat4. Link to comment
danni.coy Posted July 15, 2011 Author Share Posted July 15, 2011 lerp will accept mat4 and dmat4. not in Unigine SDK 2011-05-30 (just tested)... have things changed since? Link to comment
frustum Posted July 15, 2011 Share Posted July 15, 2011 Wait for the following SDK update. Link to comment
Recommended Posts