3d direction vector

Started by
2 comments, last by a2k 23 years, 11 months ago
how do you obtain direction vectors from, say, quaternions, or from, like axis/angle representation? and also, if i use quaternions, and convert back to euler angles, will the angles produced from the euler method produce "smoother" interpolation than that from a direct sin/cos rotation? a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Advertisement
Direct manipulation with sin/cos are fine for uniform operation, where using LERPs and SLERPs can give you near-completely arbitrary interpolation.

Here is a document that pretty well covers it:

http://www.gamasutra.com/features/programming/19980703/quaternions_01.htm
Creativity is a bloody nuisance and an evil curse that will see to it that you die from stress and alcohol abuse at a very early age, that you piss off all your friends, break appointments, show up late, and have this strange bohemian urge (you know that decadent laid-back pimp-style way of life). The truly creative people I know all live lousy lives, never have time to see you, don't take care of themselves properly, have weird tastes in women and behave badly. They don't wash and they eat disgusting stuff, they are mentally unstable and are absolutely brilliant. (k10k)
Aaaah. Looks like they forgot to copy the UBBs url tag too.
Creativity is a bloody nuisance and an evil curse that will see to it that you die from stress and alcohol abuse at a very early age, that you piss off all your friends, break appointments, show up late, and have this strange bohemian urge (you know that decadent laid-back pimp-style way of life). The truly creative people I know all live lousy lives, never have time to see you, don't take care of themselves properly, have weird tastes in women and behave badly. They don't wash and they eat disgusting stuff, they are mentally unstable and are absolutely brilliant. (k10k)
yeah, been there already, and i like that article, but how about a direction vector? i just need the object to travel along a direction vector.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k

This topic is closed to new replies.

Advertisement