Tuesday, September 18, 2012

Quaternions and SLERP

Well, the transition to quaternions was pretty painless. They aren't quite as complex as I was expecting, and GLM makes them very simple. That's the good news. Unfortunately, this caused my camera smoothing to go haywire, since it was relying on the older method of rotation. Not to big of an issue though, since I've been needing to rewrite the camera smoothing function for some time. The old method would cause some wobbling if the ship were to turn too fast. The next step is reading up on SLERP.

No comments:

Post a Comment