[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Camera thoughts



"Miguel A. Osorio" wrote:
> 
> Steve Baker wrote:
> >
> >
> > Quaternions are a useful way to combine rotations - but there is no point
> > to doing:
> >
> >    Eulers -> Quaternions -> Matrix
> >
> > ...that's just equivalent to doing Euler -> Matrix.
> >
> 
>         Hey Steve, I seem to have solved my problem. I finally came to terms
> with the Eulers -> Matrix buisness, and there we have it: I'm using an
> angle-axis representation of the camera's orientation, and each frame I
> build the rotation matrix from the three axis and then translate it
> (accounting for the camera's position).

Great!  I'm happy that you finally got it sorted out.

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net>   WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
       http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
       http://prettypoly.sf.net http://freeglut.sf.net
       http://toobular.sf.net   http://lodestone.sf.net