#### Archived

This topic is now archived and is closed to further replies.

# Setting my game view

## Recommended Posts

slashandburn    122
Im my last major project i must have called gltranslate a couple hundred times befor just starting to draw the scene. How could i adjust my 0,0,0 value to where i want it, and then use glLoadidentity() to reset back to that position and then put those values into my real matrix.

    glLoadIdentity();glTranslatef(...); glPushMatrix();  Translate_And_Rotate_Some_More();  Draw_Some_Stuff(); glPopMatrix(); glPushMatrix();  ...  ... glPopMatrix(); glPushMatrix();  Translate_And_Rotate_Even_More();  glPushMatrix();   ...   ...  glPopMatrix();  glPushMatrix();   ...   ...  glPopMatrix();   glPopMatrix(); // etc. . .