Transformation Example
•
glMatrixMode
(GL_MODELVIEW);
•
glLoadIdentity
( );
// matrix =
I
•
glMultMatrix
(N);
// matrix =
N
•
glMultmatrix
(M);
// matrix =
NM
•
glMultMatrix
(L);
// matrix =
NML
•
glBegin
(GL_POINTS);
•
glVertex3f
(v);
//
v
will be transformed:
NMLv
•
glEnd
( );
Graphics Hardware
Vector/Raster Graphics