M/\dm/\n

04-29-2003, 01:48 AM

Finally added Quat support for my project, wasn't that hard. Anyway, I understood how you can use 1 quat to define rotation, but what happens if I multiply this quat with another. As far as I understand, I must take in account that axis are affected by 1st quat, am I wrong? Then, when I create quat from given axis and angle, I calculate v, where every coordinate is given axis coordinate*sin(ang/2), I tried to normalize this v at the end of procedure & everything went wrong, without normalization everything is fine, why that so. Does that mean quat could be (x>1,y>1,z>1,w=any)?

And bonus question http://www.opengl.org/discussion_boards/ubb/biggrin.gif : are quats fater than glRotatef()? I know the difference should be around 0.1e10, but I'm qurios http://www.opengl.org/discussion_boards/ubb/biggrin.gif

And bonus question http://www.opengl.org/discussion_boards/ubb/biggrin.gif : are quats fater than glRotatef()? I know the difference should be around 0.1e10, but I'm qurios http://www.opengl.org/discussion_boards/ubb/biggrin.gif