PDA

View Full Version : Preserving transformations order



MKAI
06-18-2003, 02:08 AM
How should I force OpenGL to preserve the transformations order and prevent it reversing them. E.g. :

glMatrixMode(GL_MODELVIEW);
t1;
t2;
t3;
DrawSomething();

In the above code the transformations execution order is t3->t2->t1.

How should I reverse it (without manually using a stack) and force OpenGL to execute them in the same order that I write in code i.e. t1->t2->t3

Thanks
MKAI

MickeyMouse
06-18-2003, 03:18 AM
No way! :]
Applying consecutive transformations causes current matrix to be multiplied by it.

Deiussum
06-18-2003, 04:11 AM
You do realize that you've already posted this TWICE before and gotten answers, right?