Question
Indeed. This is one of the many optimizations you can employ when working with 3x3 rotation matrices (or a 4x4 transformation matrix, as long as you handle the rotation and translation components separately).
That's nifty. I saw how gluLookAt worked and wondered why they constructed the matrix that way.
Which is a better coordinate system, left-handed or right-handed? Which is more popular?
Which is a better coordinate system, left-handed or right-handed? Which is more popular?
Quote:Original post by BoderNote that the gluLookAt() implementation is based not only on the inverse-transpose equivalency, but also on the property (AB)^-1 = B^-1*A^-1.
That's nifty. I saw how gluLookAt worked and wondered why they constructed the matrix that way.
Quote:Which is a better coordinate system, left-handed or right-handed? Which is more popular?That's sort of unrelated, but basically:
1. DirectX is LH but offers RH versions of most functions
2. OpenGL is RH, but can probably be coerced into being LH by constructing your own matrices
3. I think most math and physics references assume a RH system
4. I don't know what the various modelling programs use, but google will probably tell you
Once you understand the underlying math, switching back and forth between the two when necessary isn't too hard.
Quote:Original post by Boder
Which is a better coordinate system, left-handed or right-handed?
Neither is better. The question is akin to "which is better, clockwise or anticlockwise?"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement