Geometrical Quaternions



Hello,
I am a programmer and had no experience in university math before.
I have been working on a Direct3D Project, hence there is a need to learn a
little bit of it...
Let's say I had two keyframes with querternions as
a) 1.0f, 1.0f, 1.0f, 1.0f (Just trial :)
b) 2.0f, 2.0f, 2.0f, 2.0f (Just trial :)
when I interpolate between these 2 quats, I got an uncontrollable animation.
What values should I set in order to look animating properly....
Do those values look strange that make the animation go crazy???

I also had these lines,
float Aspect = (float)d3dpp.BackBufferWidth /
(float)d3dpp.BackBufferHeight;
D3DXMATRIX matProjection;
D3DXMatrixPerspectiveFovLH(&matProjection, D3DX_PI/4.0f, Aspect, 1.0f,
10000.0f);
pD3DDevice->SetTransform(D3DTS_PROJECTION, &matProjection);

Thanks
Jack


.



Relevant Pages

  • Re: Instant Pascal screenshots
    ... All these allows a programmer to type a simple ... program and just draw images and do animation, ... experiences. ... I think I'll look at the TML Pascal docs. ...
    (comp.sys.apple2)
  • Re: Geometrical Quaternions
    ... I have been working on a Direct3D Project, hence there is a need to learn a ... when I interpolate between these 2 quats, I got an uncontrollable animation. ... orientation) in 3d, but only if it's a unit quaternion, ie for ... You should make it a unit quat by ...
    (sci.math)
  • Re: flash annimation
    ... but if you are a programmer in flash it should not be such a problem ... if you wanna make a simple "swing around in a circle animation" you even ... like juggling a 3 ball routine which can impresse a lot of people if it s ... > does anyone know of a poi flash annimation. ...
    (rec.juggling)