Original Post
i have two problems: 1."the viewing transformation commands must be called before any modeling transformation are performed,so the modeling transformation take effect on the objects first" i think that if the viewing transformation take the effect first,the object coodinates will change into eye coodinate,so the original position will be changed,so the command glRotated(...)will lead to the wrong result,but the glTranslated(...)and glScaled(...)is right. is it right? 2.i know how to use the pair glPushMatrix()/glPopMatrix();but i don't know how to work?for example: glPushMatrix(); glTranslated(...); glPushMatrix(); glTranslated(...); glRotated(...); glPopMatrix(); glPopMatrix(); please explain the stack how to work in detail thanks!