Geometrical Quaternions
- From: "Jacky" <jl@xxxxxxxxxx>
- Date: Fri, 31 Aug 2007 18:16:45 +0800
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
.
- Follow-Ups:
- Re: Geometrical Quaternions
- From: mjb
- Re: Geometrical Quaternions
- From: Sylvain Croussette
- Re: Geometrical Quaternions
- From: Jacky
- Re: Geometrical Quaternions
- Prev by Date: Re: Mathematics: art or science?
- Next by Date: Re: Solving g(x^2 -1) =g(x+1)+g(x -1)+g(4)
- Previous by thread: root finding
- Next by thread: Re: Geometrical Quaternions
- Index(es):
Relevant Pages
|