Question: Suppose an OpenGL program uses the function calls below to set the current transformation matrix (CTM). glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glTranslatef(10.0, 20.0, -10.0); glRotatef(45.0, 0.0, 0.0, 1.0);
Suppose an OpenGL program uses the function calls below to set the current transformation matrix (CTM).
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslatef(10.0, 20.0, -10.0);
glRotatef(45.0, 0.0, 0.0, 1.0);
glScale3f(1.0, 5.0, 4.0);
Write the function calls with their correct parameter values that would result in setting the CTM to the inverse of that matrix. Show your solution process as well.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
