PDA

View Full Version : orthonormal bases



ugluk
04-05-2010, 10:31 AM
If I could call a poll I would do it, but let me just ask, how do you generate your orthonormal bases for the viewing matrix in your code?

- euler angles
- quaternions
- sphere parametrizations

some other ways? It seems to me no book really covers this and they all pretty much leave it up to the reader to decide which method to use or devise their own.

DmitryM
04-05-2010, 12:25 PM
quaternion for modelview,
quaternion + handness_bit for tangent space
http://code.google.com/p/kri/wiki/Quaternions