Sign in to follow this  
Boder

Question

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Quote:
Original post by Boder
That's nifty. I saw how gluLookAt worked and wondered why they constructed the matrix that way.
Note that the gluLookAt() implementation is based not only on the inverse-transpose equivalency, but also on the property (AB)^-1 = B^-1*A^-1.
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.

Share this post


Link to post
Share on other sites
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?"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this