PDA

View Full Version : Matrix math



Catman
09-02-2003, 10:10 AM
Hello! I need some advice/help with matrix math. I'd like to use a 4x4 (opengl) matrix to store my model's position and rotation so I can just concatenate it with the modelview matrix, but I really don't understand matrices. Is there a good tutorial which explains how to construct such a matrix and how to extract the position/rotation from an existing one? Thanks in advance...

al_bob
09-02-2003, 10:35 AM
Your question doesn't have anything to do with advanced OpenGL coding, but this link (http://www.j3d.org/matrix_faq/matrfaq_latest.html) might be of help.

[This message has been edited by al_bob (edited 09-02-2003).]

Catman
09-02-2003, 12:18 PM
Yes, sorry. Now that you say this should have been posted in the beginner's forum. http://www.opengl.org/discussion_boards/ubb/smile.gif But thanks for the link.