PDA

View Full Version : QMatrix



Gopala Krishna
7th May 2007, 17:24
Hello,
Can someone help in learning the math behind QMatrix ? All I've been doing till now is modifying the example code found in docs and trying to fit it to mine.
My objectives to learn are:

Learn the fundamentals first
Learn about combining different matrices to produce nice effects
Some advanced usage


Actually I've gone through the documentation but couldn't grasp it completely. I still sometimes get confused while applying them. Also I'd like to know some advanced operations. So please help me.

(BTW, a wiki article would be awesome )
Thanks in advance

marcel
7th May 2007, 17:52
There are three basic mapping operations:
- Translation
- Rotation
- Scaling

More complex operations are obtained when combining the above three basic operations.
Look at:
http://home10.inet.tele.dk/moelhave/tutors/3d/transformations/transformations.html
http://en.wikipedia.org/wiki/Rotation_matrix
http://en.wikipedia.org/wiki/Scaling_(geometry)
http://en.wikipedia.org/wiki/Translation_(geometry)

Also you can check out the books:
Introduction to Computer Graphics - by James Foley
Computer Graphics: Principles and Practice in C (2nd Edition) (http://www.amazon.com/Computer-Graphics-Principles-Practice-2nd/dp/0201848406/ref=pd_bxgy_b_text_b/102-7328171-7551328) by James D. Foley
and a few others

Regards