Re: [Plib-devel] Quaternions in plib
Brought to you by:
sjbaker
From: Sam S. <sa...@sp...> - 2000-08-11 00:55:11
|
----- Original Message ----- From: "Amit Bakshi" <am...@de...> To: <pli...@li...> Sent: Thursday, August 10, 2000 5:30 PM Subject: Re: [Plib-devel] Quaternions in plib > > Because it's overkill. You don't need to use quaternions for everything. > The only thing I use them for is for interpolation keyframed animations. > For camera controls , eulers work fine; have been for years. But if you have a camera that can move on all three axes, then it's going to screw up pretty quickly. I can't believe that these sort of cameras are all that rare (any space/flight sim for example). Quaternions have the advantage that they don't need to be reorthoganised _ever_, and from my prespective four floats is a damn site better than twelve for network transmission (OK, so it's a naive implementation - you could get away with transmitting a single unsigned int if you used a lookup table. Again quaternions would be quicker to lookup). Sam |