PDA

View Full Version : basic matrix ops



lee
01-25-2001, 07:10 PM
help, please. i'm trying understand the matrix operations...how do you use the matrix to translate or rotate? i understand how to use glTranslate and glRotate, but say you have the identity matrix
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
and you want to translate the view for examples...10 units in the x direction, how do you use MultMatrix to perform this operation? i.e. [without glTranslate] what values would you plug in to move 10 units in positive x?

Elixer
01-25-2001, 07:20 PM
Use the search engine for this message board, you will find what you want.

Gavin
01-26-2001, 03:20 AM
Check out any computer graphics book. I expect, but can't remember that 'graphics gems' will have good explanations for you.

gav